Skip to main content

steel_registry/generated/
vanilla_frog_variants.rs

1use crate :: frog_variant :: { FrogVariant , FrogVariantRegistry , } ; use steel_utils :: Identifier ; use std :: borrow :: Cow ; use crate :: shared_structs :: { SpawnConditionEntry , BiomeCondition } ; pub static COLD : FrogVariant = FrogVariant { key : Identifier :: vanilla_static ("cold") , asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/frog/frog_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_frogs") }) , }) , }] , } ; pub static TEMPERATE : FrogVariant = FrogVariant { key : Identifier :: vanilla_static ("temperate") , asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/frog/frog_temperate") } , spawn_conditions : & [SpawnConditionEntry { priority : 0i32 , condition : None , }] , } ; pub static WARM : FrogVariant = FrogVariant { key : Identifier :: vanilla_static ("warm") , asset_id : Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("entity/frog/frog_warm") } , 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_frogs") }) , }) , }] , } ; pub fn register_frog_variants (registry : & mut FrogVariantRegistry) { registry . register (& COLD) ; registry . register (& TEMPERATE) ; registry . register (& WARM) ; }