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