Skip to main content

steel_registry/generated/
vanilla_chicken_variants.rs

1use crate :: chicken_variant :: { ChickenVariant , ChickenVariantRegistry , ChickenModelType , } ; use steel_utils :: Identifier ; use std :: borrow :: Cow ; use crate :: shared_structs :: { SpawnConditionEntry , BiomeCondition } ; pub static COLD : ChickenVariant = ChickenVariant { key : Identifier :: vanilla_static ("cold") , asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/chicken/chicken_cold") } , baby_asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/chicken/chicken_cold_baby") } , model : ChickenModelType :: Cold , spawn_conditions : & [SpawnConditionEntry { priority : 1i32 , condition : Some (BiomeCondition { condition_type : "minecraft:biome" , biomes : crate :: shared_structs :: BiomeConditionTarget :: Tag (Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("spawns_cold_variant_farm_animals") }) , }) , }] , } ; pub static TEMPERATE : ChickenVariant = ChickenVariant { key : Identifier :: vanilla_static ("temperate") , asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/chicken/chicken_temperate") } , baby_asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/chicken/chicken_temperate_baby") } , model : ChickenModelType :: Normal , spawn_conditions : & [SpawnConditionEntry { priority : 0i32 , condition : None , }] , } ; pub static WARM : ChickenVariant = ChickenVariant { key : Identifier :: vanilla_static ("warm") , asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/chicken/chicken_warm") } , baby_asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/chicken/chicken_warm_baby") } , model : ChickenModelType :: Normal , spawn_conditions : & [SpawnConditionEntry { priority : 1i32 , condition : Some (BiomeCondition { condition_type : "minecraft:biome" , biomes : crate :: shared_structs :: BiomeConditionTarget :: Tag (Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("spawns_warm_variant_farm_animals") }) , }) , }] , } ; pub fn register_chicken_variants (registry : & mut ChickenVariantRegistry) { registry . register (& COLD) ; registry . register (& TEMPERATE) ; registry . register (& WARM) ; }