Skip to content

Commit

Permalink
Item tag edits
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticKoko committed Dec 4, 2024
1 parent 34dfbdc commit 754301b
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"hybrid-aquatic:unicorn_fish",
"hybrid-aquatic:cowfish",
"hybrid-aquatic:tiger_barb",
"hybrid-aquatic:flying_fish",
"hybrid-aquatic:oscar",
"hybrid-aquatic:flashlight_fish",
"hybrid-aquatic:surgeonfish_orangeshoulder",
Expand Down
3 changes: 2 additions & 1 deletion src/generated/resources/data/minecraft/tags/items/axes.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"replace": false,
"values": [
"hybrid-aquatic:seashell_axe"
"hybrid-aquatic:seashell_axe",
"hybrid-aquatic:coral_axe"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"hybrid-aquatic:betta",
"hybrid-aquatic:discus",
"hybrid-aquatic:ratfish",
"hybrid-aquatic:flying_fish",
"hybrid-aquatic:tiger_barb"
]
}
3 changes: 2 additions & 1 deletion src/generated/resources/data/minecraft/tags/items/hoes.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"replace": false,
"values": [
"hybrid-aquatic:seashell_hoe"
"hybrid-aquatic:seashell_hoe",
"hybrid-aquatic:coral_hoe"
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"replace": false,
"values": [
"hybrid-aquatic:seashell_pickaxe"
"hybrid-aquatic:seashell_pickaxe",
"hybrid-aquatic:coral_pickaxe"
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"replace": false,
"values": [
"hybrid-aquatic:seashell_shovel"
"hybrid-aquatic:seashell_shovel",
"hybrid-aquatic:coral_shovel"
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"replace": false,
"values": [
"hybrid-aquatic:seashell_spear"
"hybrid-aquatic:seashell_spear",
"hybrid-aquatic:coral_blade"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,23 @@ class ItemTagProvider(output: FabricDataOutput, registriesFuture: CompletableFut

getOrCreateTagBuilder(ItemTags.SWORDS)
.add(HybridAquaticItems.SEASHELL_SPEAR)
.add(HybridAquaticItems.CORAL_BLADE)

getOrCreateTagBuilder(ItemTags.SHOVELS)
.add(HybridAquaticItems.SEASHELL_SHOVEL)
.add(HybridAquaticItems.CORAL_SHOVEL)

getOrCreateTagBuilder(ItemTags.AXES)
.add(HybridAquaticItems.SEASHELL_AXE)
.add(HybridAquaticItems.CORAL_AXE)

getOrCreateTagBuilder(ItemTags.PICKAXES)
.add(HybridAquaticItems.SEASHELL_PICKAXE)
.add(HybridAquaticItems.CORAL_PICKAXE)

getOrCreateTagBuilder(ItemTags.HOES)
.add(HybridAquaticItems.SEASHELL_HOE)
.add(HybridAquaticItems.CORAL_HOE)

//#endregion

Expand All @@ -94,6 +99,7 @@ class ItemTagProvider(output: FabricDataOutput, registriesFuture: CompletableFut
HybridAquaticItems.UNICORNFISH,
HybridAquaticItems.COWFISH,
HybridAquaticItems.TIGER_BARB,
HybridAquaticItems.FLYING_FISH,
HybridAquaticItems.OSCAR,
HybridAquaticItems.FLASHLIGHT_FISH,
HybridAquaticItems.SURGEONFISH_ORANGESHOULDER,
Expand Down Expand Up @@ -267,6 +273,7 @@ class ItemTagProvider(output: FabricDataOutput, registriesFuture: CompletableFut
HybridAquaticItems.BETTA,
HybridAquaticItems.DISCUS,
HybridAquaticItems.RATFISH,
HybridAquaticItems.FLYING_FISH,
HybridAquaticItems.TIGER_BARB,
).forEach { item ->
getOrCreateTagBuilder(ItemTags.FISHES).add(item)
Expand Down

0 comments on commit 754301b

Please sign in to comment.