Add the cherry grove to the floral biome tag ()

This commit is contained in:
maityyy 2023-07-18 14:55:04 +03:00 committed by GitHub
parent 6c31357e16
commit a1a980dacd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions
fabric-convention-tags-v1/src
datagen/java/net/fabricmc/fabric/impl/tag/convention/datagen/generators
generated/resources/data/c/tags/worldgen/biome

View file

@ -82,7 +82,7 @@ public class BiomeTagGenerator extends FabricTagProvider<Biome> {
.add(BiomeKeys.STONY_PEAKS).add(BiomeKeys.MUSHROOM_FIELDS).add(BiomeKeys.DRIPSTONE_CAVES)
.add(BiomeKeys.LUSH_CAVES).add(BiomeKeys.SNOWY_BEACH).add(BiomeKeys.SWAMP).add(BiomeKeys.STONY_SHORE)
.add(BiomeKeys.DEEP_DARK).add(BiomeKeys.MANGROVE_SWAMP)
.addOptional(BiomeKeys.CHERRY_GROVE);
.add(BiomeKeys.CHERRY_GROVE);
}
private void generateCategoryTags() {
@ -235,6 +235,7 @@ public class BiomeTagGenerator extends FabricTagProvider<Biome> {
getOrCreateTagBuilder(ConventionalBiomeTags.FLORAL)
.add(BiomeKeys.SUNFLOWER_PLAINS)
.add(BiomeKeys.MEADOW)
.add(BiomeKeys.CHERRY_GROVE)
.addOptionalTag(ConventionalBiomeTags.FLOWER_FORESTS);
}

View file

@ -3,6 +3,7 @@
"values": [
"minecraft:sunflower_plains",
"minecraft:meadow",
"minecraft:cherry_grove",
{
"id": "#c:flower_forests",
"required": false

View file

@ -57,9 +57,6 @@
"minecraft:stony_shore",
"minecraft:deep_dark",
"minecraft:mangrove_swamp",
{
"id": "minecraft:cherry_grove",
"required": false
}
"minecraft:cherry_grove"
]
}