Add 'Windswept Hills' biome convention tag ()

* add windswept biome tag

* change windswept tag to windswept hills

* list out biomes and revert name change

(cherry picked from commit 1b664772cf)
This commit is contained in:
Michael 2023-03-15 22:35:58 +13:00 committed by modmuss50
parent 7ca91b72e1
commit 9a7c5daa43
3 changed files with 15 additions and 0 deletions
fabric-convention-tags-v1/src
datagen/java/net/fabricmc/fabric/impl/tag/convention/datagen/generators
generated/resources/data/c/tags/worldgen/biome
main/java/net/fabricmc/fabric/api/tag/convention/v1

View file

@ -91,6 +91,11 @@ public class BiomeTagGenerator extends FabricTagProvider<Biome> {
getOrCreateTagBuilder(ConventionalBiomeTags.EXTREME_HILLS)
.add(BiomeKeys.WINDSWEPT_GRAVELLY_HILLS)
.add(BiomeKeys.WINDSWEPT_HILLS);
getOrCreateTagBuilder(ConventionalBiomeTags.WINDSWEPT)
.add(BiomeKeys.WINDSWEPT_HILLS)
.add(BiomeKeys.WINDSWEPT_GRAVELLY_HILLS)
.add(BiomeKeys.WINDSWEPT_FOREST)
.add(BiomeKeys.WINDSWEPT_SAVANNA);
getOrCreateTagBuilder(ConventionalBiomeTags.JUNGLE)
.addOptionalTag(BiomeTags.IS_JUNGLE);
getOrCreateTagBuilder(ConventionalBiomeTags.MESA)

View file

@ -0,0 +1,9 @@
{
"replace": false,
"values": [
"minecraft:windswept_hills",
"minecraft:windswept_gravelly_hills",
"minecraft:windswept_forest",
"minecraft:windswept_savanna"
]
}

View file

@ -46,6 +46,7 @@ public final class ConventionalBiomeTags {
public static final TagKey<Biome> IN_NETHER = register("in_nether");
public static final TagKey<Biome> TAIGA = register("taiga");
public static final TagKey<Biome> EXTREME_HILLS = register("extreme_hills");
public static final TagKey<Biome> WINDSWEPT = register("windswept");
public static final TagKey<Biome> JUNGLE = register("jungle");
public static final TagKey<Biome> MESA = register("mesa");
/**