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