pub struct WolfVariant {
pub key: Identifier,
pub assets: WolfAssetInfo,
pub baby_assets: WolfAssetInfo,
pub spawn_conditions: &'static [SpawnConditionEntry],
}Expand description
Represents a full wolf variant definition from a data pack JSON file.
Fields§
§key: Identifier§assets: WolfAssetInfo§baby_assets: WolfAssetInfo§spawn_conditions: &'static [SpawnConditionEntry]Trait Implementations§
Source§impl Debug for WolfVariant
impl Debug for WolfVariant
Source§impl RegistryEntry for WolfVariant
impl RegistryEntry for WolfVariant
Source§impl ToNbtTag for &WolfVariant
impl ToNbtTag for &WolfVariant
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
Auto Trait Implementations§
impl Freeze for WolfVariant
impl RefUnwindSafe for WolfVariant
impl Send for WolfVariant
impl Sync for WolfVariant
impl Unpin for WolfVariant
impl UnsafeUnpin for WolfVariant
impl UnwindSafe for WolfVariant
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