Skip to content

Commit

Permalink
Update conventional tags to 22w17a (FabricMC#2169)
Browse files Browse the repository at this point in the history
Make all tags have same line endings
  • Loading branch information
dexman545 authored May 1, 2022
1 parent aa505e0 commit 6da0939
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ private void generateDimensionTags() {
.add(BiomeKeys.WOODED_BADLANDS).add(BiomeKeys.MEADOW).add(BiomeKeys.GROVE)
.add(BiomeKeys.SNOWY_SLOPES).add(BiomeKeys.FROZEN_PEAKS).add(BiomeKeys.JAGGED_PEAKS)
.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.LUSH_CAVES).add(BiomeKeys.SNOWY_BEACH).add(BiomeKeys.SWAMP).add(BiomeKeys.STONY_SHORE)
.add(BiomeKeys.DEEP_DARK).add(BiomeKeys.MANGROVE_SWAMP);
}

private void generateCategoryTags() {
Expand Down Expand Up @@ -122,6 +123,7 @@ private void generateCategoryTags() {
getOrCreateTagBuilder(ConventionalBiomeTags.RIVER)
.addOptionalTag(BiomeTags.IS_RIVER);
getOrCreateTagBuilder(ConventionalBiomeTags.SWAMP)
.add(BiomeKeys.MANGROVE_SWAMP)
.add(BiomeKeys.SWAMP);
getOrCreateTagBuilder(ConventionalBiomeTags.MUSHROOM)
.add(BiomeKeys.MUSHROOM_FIELDS);
Expand All @@ -136,6 +138,7 @@ private void generateOtherBiomeTypes() {
.addOptionalTag(ConventionalBiomeTags.MESA)
.addOptionalTag(BiomeTags.IS_BADLANDS);
getOrCreateTagBuilder(ConventionalBiomeTags.CAVES)
.add(BiomeKeys.DEEP_DARK)
.add(BiomeKeys.DRIPSTONE_CAVES)
.add(BiomeKeys.LUSH_CAVES);
getOrCreateTagBuilder(ConventionalBiomeTags.VOID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ protected void generateTags() {
.add(Enchantments.POWER)
.add(Enchantments.SHARPNESS);
getOrCreateTagBuilder(ConventionalEnchantmentTags.ENTITY_MOVEMENT_ENHANCEMENT)
.add(Enchantments.SWIFT_SNEAK)
.add(Enchantments.DEPTH_STRIDER)
.add(Enchantments.SOUL_SPEED);
getOrCreateTagBuilder(ConventionalEnchantmentTags.ENTITY_DEFENSE_ENHANCEMENT)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"replace": false,
"values": [
"minecraft:swift_sneak",
"minecraft:depth_strider",
"minecraft:soul_speed"
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"replace": false,
"values": [
"minecraft:deep_dark",
"minecraft:dripstone_caves",
"minecraft:lush_caves"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
"minecraft:lush_caves",
"minecraft:snowy_beach",
"minecraft:swamp",
"minecraft:stony_shore"
"minecraft:stony_shore",
"minecraft:deep_dark",
"minecraft:mangrove_swamp"
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"replace": false,
"values": [
"minecraft:mangrove_swamp",
"minecraft:swamp"
]
}

0 comments on commit 6da0939

Please sign in to comment.