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