diff --git a/src/main/generated/data/minecraft/tags/worldgen/biome/spawns_cold_variant_farm_animals.json b/src/main/generated/data/minecraft/tags/worldgen/biome/spawns_cold_variant_farm_animals.json new file mode 100644 index 0000000000..f18f3be865 --- /dev/null +++ b/src/main/generated/data/minecraft/tags/worldgen/biome/spawns_cold_variant_farm_animals.json @@ -0,0 +1,32 @@ +{ + "values": [ + { + "id": "wilderwild:frozen_caves", + "required": false + }, + { + "id": "wilderwild:temperate_rainforest", + "required": false + }, + { + "id": "wilderwild:maple_forest", + "required": false + }, + { + "id": "wilderwild:tundra", + "required": false + }, + { + "id": "wilderwild:snowy_dying_forest", + "required": false + }, + { + "id": "wilderwild:snowy_dying_mixed_forest", + "required": false + }, + { + "id": "wilderwild:snowy_old_growth_pine_taiga", + "required": false + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/worldgen/biome/spawns_warm_variant_farm_animals.json b/src/main/generated/data/minecraft/tags/worldgen/biome/spawns_warm_variant_farm_animals.json new file mode 100644 index 0000000000..6eb286d5b7 --- /dev/null +++ b/src/main/generated/data/minecraft/tags/worldgen/biome/spawns_warm_variant_farm_animals.json @@ -0,0 +1,40 @@ +{ + "values": [ + { + "id": "wilderwild:oasis", + "required": false + }, + { + "id": "wilderwild:warm_river", + "required": false + }, + { + "id": "wilderwild:warm_beach", + "required": false + }, + { + "id": "wilderwild:magmatic_caves", + "required": false + }, + { + "id": "wilderwild:arid_forest", + "required": false + }, + { + "id": "wilderwild:arid_savanna", + "required": false + }, + { + "id": "wilderwild:parched_forest", + "required": false + }, + { + "id": "wilderwild:birch_jungle", + "required": false + }, + { + "id": "wilderwild:sparse_birch_jungle", + "required": false + } + ] +} \ No newline at end of file diff --git a/src/main/java/net/frozenblock/wilderwild/datagen/tag/WWBiomeTagProvider.java b/src/main/java/net/frozenblock/wilderwild/datagen/tag/WWBiomeTagProvider.java index edcce6f27e..4aac55f6ad 100644 --- a/src/main/java/net/frozenblock/wilderwild/datagen/tag/WWBiomeTagProvider.java +++ b/src/main/java/net/frozenblock/wilderwild/datagen/tag/WWBiomeTagProvider.java @@ -658,6 +658,26 @@ private void generateUtilityTags() { .add(Biomes.WINDSWEPT_SAVANNA) .addOptionalTag(BiomeTags.IS_BADLANDS); + this.getOrCreateTagBuilder(BiomeTags.SPAWNS_COLD_VARIANT_FARM_ANIMALS) + .addOptional(WWBiomes.FROZEN_CAVES) + .addOptional(WWBiomes.TEMPERATE_RAINFOREST) + .addOptional(WWBiomes.MAPLE_FOREST) + .addOptional(WWBiomes.TUNDRA) + .addOptional(WWBiomes.SNOWY_DYING_FOREST) + .addOptional(WWBiomes.SNOWY_DYING_MIXED_FOREST) + .addOptional(WWBiomes.SNOWY_OLD_GROWTH_PINE_TAIGA); + + this.getOrCreateTagBuilder(BiomeTags.SPAWNS_WARM_VARIANT_FARM_ANIMALS) + .addOptional(WWBiomes.OASIS) + .addOptional(WWBiomes.WARM_RIVER) + .addOptional(WWBiomes.WARM_BEACH) + .addOptional(WWBiomes.MAGMATIC_CAVES) + .addOptional(WWBiomes.ARID_FOREST) + .addOptional(WWBiomes.ARID_SAVANNA) + .addOptional(WWBiomes.PARCHED_FOREST) + .addOptional(WWBiomes.BIRCH_JUNGLE) + .addOptional(WWBiomes.SPARSE_BIRCH_JUNGLE); + this.getOrCreateTagBuilder(WWBiomeTags.HAS_CLAY_PATH) .addOptionalTag(WWBiomeTags.SAND_BEACHES) .addOptionalTag(WWBiomeTags.MULTI_LAYER_SAND_BEACHES)