Skip to content

Commit

Permalink
farm animal variant tags
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Jan 9, 2025
1 parent 2ced358 commit 898a493
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
}
]
}
Original file line number Diff line number Diff line change
@@ -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
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 898a493

Please sign in to comment.