Skip to content

Commit

Permalink
Add a seed tag for Pitcher Pods (#4380)
Browse files Browse the repository at this point in the history
  • Loading branch information
cassiancc authored Jan 21, 2025
1 parent 46bcd36 commit 22636d9
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ public void generateTranslations(RegistryWrapper.WrapperLookup registryLookup, T
translationBuilder.add(ConventionalItemTags.MELON_SEEDS, "Melon Seeds");
translationBuilder.add(ConventionalItemTags.PUMPKIN_SEEDS, "Pumpkin Seeds");
translationBuilder.add(ConventionalItemTags.TORCHFLOWER_SEEDS, "Torchflower Seeds");
translationBuilder.add(ConventionalItemTags.PITCHER_PLANT_SEEDS, "Pitcher Plant Seeds");
translationBuilder.add(ConventionalItemTags.WHEAT_SEEDS, "Wheat Seeds");
translationBuilder.add(ConventionalItemTags.PLAYER_WORKSTATIONS_CRAFTING_TABLES, "Crafting Tables");
translationBuilder.add(ConventionalItemTags.PLAYER_WORKSTATIONS_FURNACES, "Furnaces");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,7 @@ private void generateCropAndSeedsTags() {
.addOptionalTag(ConventionalItemTags.MELON_SEEDS)
.addOptionalTag(ConventionalItemTags.PUMPKIN_SEEDS)
.addOptionalTag(ConventionalItemTags.TORCHFLOWER_SEEDS)
.addOptionalTag(ConventionalItemTags.PITCHER_PLANT_SEEDS)
.addOptionalTag(ConventionalItemTags.WHEAT_SEEDS);
getOrCreateTagBuilder(ConventionalItemTags.BEETROOT_SEEDS)
.add(Items.BEETROOT_SEEDS);
Expand All @@ -776,6 +777,8 @@ private void generateCropAndSeedsTags() {
.add(Items.PUMPKIN_SEEDS);
getOrCreateTagBuilder(ConventionalItemTags.TORCHFLOWER_SEEDS)
.add(Items.TORCHFLOWER_SEEDS);
getOrCreateTagBuilder(ConventionalItemTags.PITCHER_PLANT_SEEDS)
.add(Items.PITCHER_POD);
getOrCreateTagBuilder(ConventionalItemTags.WHEAT_SEEDS)
.add(Items.WHEAT_SEEDS);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@
"tag.item.c.seeds": "Seeds",
"tag.item.c.seeds.beetroot": "Beetroot Seeds",
"tag.item.c.seeds.melon": "Melon Seeds",
"tag.item.c.seeds.pitcher_plant": "Pitcher Plant Seeds",
"tag.item.c.seeds.pumpkin": "Pumpkin Seeds",
"tag.item.c.seeds.torchflower": "Torchflower Seeds",
"tag.item.c.seeds.wheat": "Wheat Seeds",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
"id": "#c:seeds/torchflower",
"required": false
},
{
"id": "#c:seeds/pitcher_plant",
"required": false
},
{
"id": "#c:seeds/wheat",
"required": false
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"minecraft:pitcher_pod"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ private ConventionalItemTags() {
public static final TagKey<Item> MELON_SEEDS = register("seeds/melon");
public static final TagKey<Item> PUMPKIN_SEEDS = register("seeds/pumpkin");
public static final TagKey<Item> TORCHFLOWER_SEEDS = register("seeds/torchflower");
public static final TagKey<Item> PITCHER_PLANT_SEEDS = register("seeds/pitcher_plant");
public static final TagKey<Item> WHEAT_SEEDS = register("seeds/wheat");

// Other
Expand Down

0 comments on commit 22636d9

Please sign in to comment.