Skip to content

Commit

Permalink
Fill deprecated Slimeball tag with entry again (#1417)
Browse files Browse the repository at this point in the history
  • Loading branch information
TelepathicGrunt committed Aug 4, 2024
1 parent 4bd040d commit 3702a4d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/generated/resources/assets/c/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@
"tag.item.c.seeds.wheat": "Wheat Seeds",
"tag.item.c.shulker_boxes": "Shulker Boxes",
"tag.item.c.slime_balls": "Slimeballs",
"tag.item.c.slimeballs": "Slimeballs",
"tag.item.c.stones": "Stones",
"tag.item.c.storage_blocks": "Storage Blocks",
"tag.item.c.storage_blocks.bone_meal": "Bone Meal Storage Blocks",
Expand Down
5 changes: 5 additions & 0 deletions src/generated/resources/data/c/tags/item/slimeballs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"minecraft:slime_ball"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ public void addTags(HolderLookup.Provider lookupProvider) {
tag(Tags.Items.SEEDS_MELON).add(Items.MELON_SEEDS);
tag(Tags.Items.SEEDS_PUMPKIN).add(Items.PUMPKIN_SEEDS);
tag(Tags.Items.SEEDS_WHEAT).add(Items.WHEAT_SEEDS);
tag(Tags.Items.SLIMEBALLS).add(Items.SLIME_BALL); // Deprecated
tag(Tags.Items.SLIME_BALLS).add(Items.SLIME_BALL).addOptionalTag(Tags.Items.SLIMEBALLS);
tag(Tags.Items.SHULKER_BOXES)
.add(Items.SHULKER_BOX).add(Items.WHITE_SHULKER_BOX).add(Items.ORANGE_SHULKER_BOX)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ protected void addTranslations() {
add(Tags.Items.SEEDS_WHEAT, "Wheat Seeds");
add(Tags.Items.SHULKER_BOXES, "Shulker Boxes");
add(Tags.Items.SLIME_BALLS, "Slimeballs");
add(Tags.Items.SLIMEBALLS, "Slimeballs");
add(Tags.Items.STONES, "Stones");
add(Tags.Items.STORAGE_BLOCKS, "Storage Blocks");
add(Tags.Items.STORAGE_BLOCKS_BONE_MEAL, "Bone Meal Storage Blocks");
Expand Down

0 comments on commit 3702a4d

Please sign in to comment.