Struct BiomeAmbientMood
pub struct BiomeAmbientMood {
pub sound: String,
pub tick_delay: u32,
pub block_search_extent: u32,
pub offset: f64,
}Expand description
The cave mood sound of a biome (mood of minecraft:audio/ambient_sounds).
Fields§
§sound: StringThe sound event.
tick_delay: u32Ticks the mood takes to build up.
block_search_extent: u32How far around the player a spot for the sound is searched.
offset: f64How far from the listener the sound is placed.
Trait Implementations§
§impl Clone for BiomeAmbientMood
impl Clone for BiomeAmbientMood
§fn clone(&self) -> BiomeAmbientMood
fn clone(&self) -> BiomeAmbientMood
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for BiomeAmbientMood
impl Debug for BiomeAmbientMood
§impl PartialEq for BiomeAmbientMood
impl PartialEq for BiomeAmbientMood
impl StructuralPartialEq for BiomeAmbientMood
Auto Trait Implementations§
impl Freeze for BiomeAmbientMood
impl RefUnwindSafe for BiomeAmbientMood
impl Send for BiomeAmbientMood
impl Sync for BiomeAmbientMood
impl Unpin for BiomeAmbientMood
impl UnsafeUnpin for BiomeAmbientMood
impl UnwindSafe for BiomeAmbientMood
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