pub struct NetherNoiseSettings;Expand description
Noise settings for this dimension, parsed from the datapack.
Implementations§
Source§impl NetherNoiseSettings
impl NetherNoiseSettings
Sourcepub const CELL_WIDTH: i32 = 4i32
pub const CELL_WIDTH: i32 = 4i32
Cell width in blocks (XZ).
Sourcepub const CELL_HEIGHT: i32 = 8i32
pub const CELL_HEIGHT: i32 = 8i32
Cell height in blocks (Y).
Sourcepub const AQUIFERS_ENABLED: bool = false
pub const AQUIFERS_ENABLED: bool = false
Whether aquifers are enabled.
Sourcepub const ORE_VEINS_ENABLED: bool = false
pub const ORE_VEINS_ENABLED: bool = false
Whether ore veins are enabled.
Sourcepub const LEGACY_RANDOM_SOURCE: bool = true
pub const LEGACY_RANDOM_SOURCE: bool = true
Whether this dimension uses Java’s LCG random (true) or Xoroshiro (false).
Sourcepub fn default_block_id() -> BlockStateId
pub fn default_block_id() -> BlockStateId
Get the default block state ID for this dimension.
Sourcepub fn default_fluid_id() -> BlockStateId
pub fn default_fluid_id() -> BlockStateId
Get the default fluid state ID for this dimension.
Trait Implementations§
Source§impl NoiseSettings for NetherNoiseSettings
impl NoiseSettings for NetherNoiseSettings
Source§const CELL_WIDTH: i32 = 4i32
const CELL_WIDTH: i32 = 4i32
Cell width in blocks (XZ direction).
Source§const CELL_HEIGHT: i32 = 8i32
const CELL_HEIGHT: i32 = 8i32
Cell height in blocks (Y direction).
Source§const AQUIFERS_ENABLED: bool = false
const AQUIFERS_ENABLED: bool = false
Whether aquifers are enabled for this dimension.
Source§const ORE_VEINS_ENABLED: bool = false
const ORE_VEINS_ENABLED: bool = false
Whether ore veins are enabled for this dimension.
Source§const LEGACY_RANDOM_SOURCE: bool = true
const LEGACY_RANDOM_SOURCE: bool = true
Whether this dimension uses Java’s LCG random (true) or Xoroshiro (false).
Source§fn default_block_id() -> BlockStateId
fn default_block_id() -> BlockStateId
Get the default block state ID for this dimension.
Source§fn default_fluid_id() -> BlockStateId
fn default_fluid_id() -> BlockStateId
Get the default fluid state ID for this dimension.
Auto Trait Implementations§
impl Freeze for NetherNoiseSettings
impl RefUnwindSafe for NetherNoiseSettings
impl Send for NetherNoiseSettings
impl Sync for NetherNoiseSettings
impl Unpin for NetherNoiseSettings
impl UnsafeUnpin for NetherNoiseSettings
impl UnwindSafe for NetherNoiseSettings
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreWraps this value in an
Arc<SyncMutex<>>