pub struct PigAge {
pub ambient_sound: SoundEventRef,
pub death_sound: SoundEventRef,
pub hurt_sound: SoundEventRef,
pub eat_sound: SoundEventRef,
pub step_sound: SoundEventRef,
}Fields§
§ambient_sound: SoundEventRef§death_sound: SoundEventRef§hurt_sound: SoundEventRef§eat_sound: SoundEventRef§step_sound: SoundEventRefTrait Implementations§
Source§impl ToNbtTag for &PigAge
impl ToNbtTag for &PigAge
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
Auto Trait Implementations§
impl Freeze for PigAge
impl RefUnwindSafe for PigAge
impl Send for PigAge
impl Sync for PigAge
impl Unpin for PigAge
impl UnsafeUnpin for PigAge
impl UnwindSafe for PigAge
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