From 31cae73a53fb62d700685873e7bd1b685cf8fe9c Mon Sep 17 00:00:00 2001 From: TelepathicGrunt <40846040+TelepathicGrunt@users.noreply.github.com> Date: Sat, 14 Dec 2024 21:24:04 -0500 Subject: [PATCH] fix build and address nether brick fence lang --- src/generated/resources/assets/c/lang/en_us.json | 2 +- .../common/data/internal/NeoForgeItemTagsProvider.java | 4 ++-- .../common/data/internal/NeoForgeLanguageProvider.java | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/generated/resources/assets/c/lang/en_us.json b/src/generated/resources/assets/c/lang/en_us.json index 1a073f19ed..476a79d4a3 100644 --- a/src/generated/resources/assets/c/lang/en_us.json +++ b/src/generated/resources/assets/c/lang/en_us.json @@ -40,7 +40,7 @@ "tag.block.c.fence_gates": "Fence Gates", "tag.block.c.fence_gates.wooden": "Wooden Fence Gates", "tag.block.c.fences": "Fences", - "tag.block.c.fences.nether_brick": "Fences Nether Brick", + "tag.block.c.fences.nether_brick": "Nether Brick Fences", "tag.block.c.fences.wooden": "Wooden Fences", "tag.block.c.glass_blocks": "Glass Blocks", "tag.block.c.glass_blocks.cheap": "Silica Glass Blocks", diff --git a/src/main/java/net/neoforged/neoforge/common/data/internal/NeoForgeItemTagsProvider.java b/src/main/java/net/neoforged/neoforge/common/data/internal/NeoForgeItemTagsProvider.java index 3db0de1520..99ed40f00e 100644 --- a/src/main/java/net/neoforged/neoforge/common/data/internal/NeoForgeItemTagsProvider.java +++ b/src/main/java/net/neoforged/neoforge/common/data/internal/NeoForgeItemTagsProvider.java @@ -199,8 +199,8 @@ public void addTags(HolderLookup.Provider lookupProvider) { copy(Tags.Blocks.ORES_IN_GROUND_STONE, Tags.Items.ORES_IN_GROUND_STONE); copy(Tags.Blocks.PLAYER_WORKSTATIONS_CRAFTING_TABLES, Tags.Items.PLAYER_WORKSTATIONS_CRAFTING_TABLES); copy(Tags.Blocks.PLAYER_WORKSTATIONS_FURNACES, Tags.Items.PLAYER_WORKSTATIONS_FURNACES); - tag(Tags.Items.POTION_BOTTLE).add(Items.POTION, Items.SPLASH_POTION, Items.LINGERING_POTION); - tag(Tags.Items.POTIONS).addTags(Tags.Items.POTION_BOTTLE); + tag(Tags.Items.POTIONS_BOTTLE).add(Items.POTION, Items.SPLASH_POTION, Items.LINGERING_POTION); + tag(Tags.Items.POTIONS).addTags(Tags.Items.POTIONS_BOTTLE); tag(Tags.Items.RAW_MATERIALS).addTags(Tags.Items.RAW_MATERIALS_COPPER, Tags.Items.RAW_MATERIALS_GOLD, Tags.Items.RAW_MATERIALS_IRON); tag(Tags.Items.RAW_MATERIALS_COPPER).add(Items.RAW_COPPER); tag(Tags.Items.RAW_MATERIALS_GOLD).add(Items.RAW_GOLD); diff --git a/src/main/java/net/neoforged/neoforge/common/data/internal/NeoForgeLanguageProvider.java b/src/main/java/net/neoforged/neoforge/common/data/internal/NeoForgeLanguageProvider.java index 5847f21937..147f270498 100644 --- a/src/main/java/net/neoforged/neoforge/common/data/internal/NeoForgeLanguageProvider.java +++ b/src/main/java/net/neoforged/neoforge/common/data/internal/NeoForgeLanguageProvider.java @@ -52,7 +52,7 @@ protected void addTranslations() { add(Tags.Blocks.FENCE_GATES, "Fence Gates"); add(Tags.Blocks.FENCE_GATES_WOODEN, "Wooden Fence Gates"); add(Tags.Blocks.FENCES, "Fences"); - add(Tags.Blocks.FENCES_NETHER_BRICK, "Fences Nether Brick"); + add(Tags.Blocks.FENCES_NETHER_BRICK, "Nether Brick Fences"); add(Tags.Blocks.FENCES_WOODEN, "Wooden Fences"); add(Tags.Blocks.GLASS_BLOCKS, "Glass Blocks"); add(Tags.Blocks.GLASS_BLOCKS_COLORLESS, "Colorless Glass Blocks"); @@ -281,7 +281,7 @@ protected void addTranslations() { add(Tags.Items.PLAYER_WORKSTATIONS_CRAFTING_TABLES, "Crafting Tables"); add(Tags.Items.PLAYER_WORKSTATIONS_FURNACES, "Furnaces"); add(Tags.Items.POTIONS, "Potions"); - add(Tags.Items.POTION_BOTTLE, "Bottled Potions"); + add(Tags.Items.POTIONS_BOTTLE, "Bottled Potions"); add(Tags.Items.RAW_MATERIALS, "Raw Materials"); add(Tags.Items.RAW_MATERIALS_COPPER, "Copper Raw Materials"); add(Tags.Items.RAW_MATERIALS_GOLD, "Gold Raw Materials");