Struct level_lib::anvil::region::chunk::chunk_data::Heightmaps
source · pub struct Heightmaps {
pub motion_blocking: Option<HeightmapWrapper>,
pub motion_blocking_no_leaves: Option<HeightmapWrapper>,
pub ocean_floor: Option<HeightmapWrapper>,
pub ocean_floor_wg: Option<HeightmapWrapper>,
pub world_surface: Option<HeightmapWrapper>,
pub world_surface_wg: Option<HeightmapWrapper>,
}Expand description
A Struct holding all Heightmaps
Fields§
§motion_blocking: Option<HeightmapWrapper>A Heightmap of the heigest motion blocking block in the section
motion_blocking_no_leaves: Option<HeightmapWrapper>A Heightmap of the heigest motion blocking block in the section, excluding leaves
ocean_floor: Option<HeightmapWrapper>A Heightmap of the heigest ocean floor block in the section
ocean_floor_wg: Option<HeightmapWrapper>A Heightmap of the heigest ocean floor block in the section (use case of this is currently unknown to me)
world_surface: Option<HeightmapWrapper>A Heightmap of the heigest world surface block in the section
world_surface_wg: Option<HeightmapWrapper>A Heightmap of the heigest world surface block in the section (use case of this is currently unknown to me)
Trait Implementations§
source§impl AsNbtValue for Heightmaps
impl AsNbtValue for Heightmaps
source§impl Debug for Heightmaps
impl Debug for Heightmaps
source§impl Default for Heightmaps
impl Default for Heightmaps
source§impl FromNbtValue for Heightmaps
impl FromNbtValue for Heightmaps
source§impl PartialEq for Heightmaps
impl PartialEq for Heightmaps
source§fn eq(&self, other: &Heightmaps) -> bool
fn eq(&self, other: &Heightmaps) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for Heightmaps
impl StructuralPartialEq for Heightmaps
Auto Trait Implementations§
impl Freeze for Heightmaps
impl RefUnwindSafe for Heightmaps
impl Send for Heightmaps
impl Sync for Heightmaps
impl Unpin for Heightmaps
impl UnwindSafe for Heightmaps
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more