steel_registry/generated/
vanilla_cat_variants.rs1use crate :: cat_variant :: { CatVariant , CatVariantRegistry , SpawnConditionEntry , SpawnCondition , } ; use steel_utils :: Identifier ; use std :: borrow :: Cow ; pub static ALL_BLACK : CatVariant = CatVariant { key : Identifier :: vanilla_static ("all_black") , asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_all_black") } , baby_asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_all_black_baby") } , spawn_conditions : & [SpawnConditionEntry { priority : 1i32 , condition : Some (SpawnCondition :: Structure { structures : "#minecraft:cats_spawn_as_black" , }) , } , SpawnConditionEntry { priority : 0i32 , condition : Some (SpawnCondition :: MoonBrightness { min : Some (0.9f32) , max : None , }) , }] , } ; pub static BLACK : CatVariant = CatVariant { key : Identifier :: vanilla_static ("black") , asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_black") } , baby_asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_black_baby") } , spawn_conditions : & [SpawnConditionEntry { priority : 0i32 , condition : None , }] , } ; pub static BRITISH_SHORTHAIR : CatVariant = CatVariant { key : Identifier :: vanilla_static ("british_shorthair") , asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_british_shorthair") } , baby_asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_british_shorthair_baby") } , spawn_conditions : & [SpawnConditionEntry { priority : 0i32 , condition : None , }] , } ; pub static CALICO : CatVariant = CatVariant { key : Identifier :: vanilla_static ("calico") , asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_calico") } , baby_asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_calico_baby") } , spawn_conditions : & [SpawnConditionEntry { priority : 0i32 , condition : None , }] , } ; pub static JELLIE : CatVariant = CatVariant { key : Identifier :: vanilla_static ("jellie") , asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_jellie") } , baby_asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_jellie_baby") } , spawn_conditions : & [SpawnConditionEntry { priority : 0i32 , condition : None , }] , } ; pub static PERSIAN : CatVariant = CatVariant { key : Identifier :: vanilla_static ("persian") , asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_persian") } , baby_asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_persian_baby") } , spawn_conditions : & [SpawnConditionEntry { priority : 0i32 , condition : None , }] , } ; pub static RAGDOLL : CatVariant = CatVariant { key : Identifier :: vanilla_static ("ragdoll") , asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_ragdoll") } , baby_asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_ragdoll_baby") } , spawn_conditions : & [SpawnConditionEntry { priority : 0i32 , condition : None , }] , } ; pub static RED : CatVariant = CatVariant { key : Identifier :: vanilla_static ("red") , asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_red") } , baby_asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_red_baby") } , spawn_conditions : & [SpawnConditionEntry { priority : 0i32 , condition : None , }] , } ; pub static SIAMESE : CatVariant = CatVariant { key : Identifier :: vanilla_static ("siamese") , asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_siamese") } , baby_asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_siamese_baby") } , spawn_conditions : & [SpawnConditionEntry { priority : 0i32 , condition : None , }] , } ; pub static TABBY : CatVariant = CatVariant { key : Identifier :: vanilla_static ("tabby") , asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_tabby") } , baby_asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_tabby_baby") } , spawn_conditions : & [SpawnConditionEntry { priority : 0i32 , condition : None , }] , } ; pub static WHITE : CatVariant = CatVariant { key : Identifier :: vanilla_static ("white") , asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_white") } , baby_asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/cat/cat_white_baby") } , spawn_conditions : & [SpawnConditionEntry { priority : 0i32 , condition : None , }] , } ; pub fn register_cat_variants (registry : & mut CatVariantRegistry) { registry . register (& ALL_BLACK) ; registry . register (& BLACK) ; registry . register (& BRITISH_SHORTHAIR) ; registry . register (& CALICO) ; registry . register (& JELLIE) ; registry . register (& PERSIAN) ; registry . register (& RAGDOLL) ; registry . register (& RED) ; registry . register (& SIAMESE) ; registry . register (& TABBY) ; registry . register (& WHITE) ; }