pub struct BiomeEffects {Show 13 fields
pub fog_color: i32,
pub sky_color: i32,
pub water_color: i32,
pub water_fog_color: i32,
pub foliage_color: Option<i32>,
pub grass_color: Option<i32>,
pub dry_foliage_color: Option<i32>,
pub grass_color_modifier: GrassColorModifier,
pub music: Option<Vec<WeightedMusic>>,
pub ambient_sound: Option<SoundEventRef>,
pub additions_sound: Option<AdditionsSound>,
pub mood_sound: Option<MoodSound>,
pub particle: Option<Particle>,
}Fields§
§fog_color: i32§sky_color: i32§water_color: i32§water_fog_color: i32§foliage_color: Option<i32>§grass_color: Option<i32>§dry_foliage_color: Option<i32>§grass_color_modifier: GrassColorModifier§music: Option<Vec<WeightedMusic>>§ambient_sound: Option<SoundEventRef>§additions_sound: Option<AdditionsSound>§mood_sound: Option<MoodSound>§particle: Option<Particle>Trait Implementations§
Auto Trait Implementations§
impl Freeze for BiomeEffects
impl RefUnwindSafe for BiomeEffects
impl Send for BiomeEffects
impl Sync for BiomeEffects
impl Unpin for BiomeEffects
impl UnsafeUnpin for BiomeEffects
impl UnwindSafe for BiomeEffects
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<>>