steel_registry/generated/
vanilla_chicken_variants.rs1use crate::chicken_variant::{ChickenVariant, ChickenVariantRegistry, ChickenModelType};
2use steel_utils::Identifier;
3use std::borrow::Cow;
4use crate::shared_structs::{SpawnConditionEntry, BiomeCondition};
5pub static COLD: ChickenVariant = ChickenVariant {
6 key: Identifier::vanilla_static("cold"),
7 asset_id: Identifier {
8 namespace: Cow::Borrowed("minecraft"),
9 path: Cow::Borrowed("entity/chicken/chicken_cold"),
10 },
11 baby_asset_id: Identifier {
12 namespace: Cow::Borrowed("minecraft"),
13 path: Cow::Borrowed("entity/chicken/chicken_cold_baby"),
14 },
15 model: ChickenModelType::Cold,
16 spawn_conditions: &[
17 SpawnConditionEntry {
18 priority: 1i32,
19 condition: Some(BiomeCondition {
20 condition_type: "minecraft:biome",
21 biomes: crate::shared_structs::BiomeConditionTarget::Tag(Identifier {
22 namespace: Cow::Borrowed("minecraft"),
23 path: Cow::Borrowed("spawns_cold_variant_farm_animals"),
24 }),
25 }),
26 },
27 ],
28};
29pub static TEMPERATE: ChickenVariant = ChickenVariant {
30 key: Identifier::vanilla_static("temperate"),
31 asset_id: Identifier {
32 namespace: Cow::Borrowed("minecraft"),
33 path: Cow::Borrowed("entity/chicken/chicken_temperate"),
34 },
35 baby_asset_id: Identifier {
36 namespace: Cow::Borrowed("minecraft"),
37 path: Cow::Borrowed("entity/chicken/chicken_temperate_baby"),
38 },
39 model: ChickenModelType::Normal,
40 spawn_conditions: &[
41 SpawnConditionEntry {
42 priority: 0i32,
43 condition: None,
44 },
45 ],
46};
47pub static WARM: ChickenVariant = ChickenVariant {
48 key: Identifier::vanilla_static("warm"),
49 asset_id: Identifier {
50 namespace: Cow::Borrowed("minecraft"),
51 path: Cow::Borrowed("entity/chicken/chicken_warm"),
52 },
53 baby_asset_id: Identifier {
54 namespace: Cow::Borrowed("minecraft"),
55 path: Cow::Borrowed("entity/chicken/chicken_warm_baby"),
56 },
57 model: ChickenModelType::Normal,
58 spawn_conditions: &[
59 SpawnConditionEntry {
60 priority: 1i32,
61 condition: Some(BiomeCondition {
62 condition_type: "minecraft:biome",
63 biomes: crate::shared_structs::BiomeConditionTarget::Tag(Identifier {
64 namespace: Cow::Borrowed("minecraft"),
65 path: Cow::Borrowed("spawns_warm_variant_farm_animals"),
66 }),
67 }),
68 },
69 ],
70};
71pub fn register_chicken_variants(registry: &mut ChickenVariantRegistry) {
72 registry.register(&COLD);
73 registry.register(&TEMPERATE);
74 registry.register(&WARM);
75}