pub struct ChickenSoundVariant {
pub key: Identifier,
pub baby_sounds: ChickenAge,
pub adult_sounds: ChickenAge,
}Expand description
Represents a set of sounds for a chicken variant from a data pack JSON file.
Fields§
§key: Identifier§baby_sounds: ChickenAge§adult_sounds: ChickenAgeTrait Implementations§
Source§impl Debug for ChickenSoundVariant
impl Debug for ChickenSoundVariant
Source§impl RegistryEntry for ChickenSoundVariant
impl RegistryEntry for ChickenSoundVariant
Source§impl ToNbtTag for &ChickenSoundVariant
impl ToNbtTag for &ChickenSoundVariant
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
Auto Trait Implementations§
impl Freeze for ChickenSoundVariant
impl RefUnwindSafe for ChickenSoundVariant
impl Send for ChickenSoundVariant
impl Sync for ChickenSoundVariant
impl Unpin for ChickenSoundVariant
impl UnsafeUnpin for ChickenSoundVariant
impl UnwindSafe for ChickenSoundVariant
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