mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-24 00:28:10 -05:00
Add common Mace tag (#3909)
This commit is contained in:
parent
3f89f5a5c6
commit
8d16166232
6 changed files with 12 additions and 0 deletions
|
@ -121,6 +121,7 @@ public class EnglishTagLangGenerator extends FabricLanguageProvider {
|
|||
translationBuilder.add(ConventionalItemTags.SHIELD_TOOLS, "Shields");
|
||||
translationBuilder.add(ConventionalItemTags.FISHING_ROD_TOOLS, "Fishing Rods");
|
||||
translationBuilder.add(ConventionalItemTags.BRUSH_TOOLS, "Brushes");
|
||||
translationBuilder.add(ConventionalItemTags.MACE_TOOLS, "Maces");
|
||||
translationBuilder.add(ConventionalItemTags.MELEE_WEAPON_TOOLS, "Melee Weapons");
|
||||
translationBuilder.add(ConventionalItemTags.RANGED_WEAPON_TOOLS, "Ranged Weapons");
|
||||
translationBuilder.add(ConventionalItemTags.MINING_TOOL_TOOLS, "Mining Tools");
|
||||
|
|
|
@ -456,6 +456,8 @@ public final class ItemTagGenerator extends FabricTagProvider.ItemTagProvider {
|
|||
getOrCreateTagBuilder(ConventionalItemTags.BRUSH_TOOLS)
|
||||
.add(Items.BRUSH)
|
||||
.addOptionalTag(ConventionalItemTags.BRUSHES_TOOLS);
|
||||
getOrCreateTagBuilder(ConventionalItemTags.MACE_TOOLS)
|
||||
.add(Items.MACE);
|
||||
|
||||
getOrCreateTagBuilder(ConventionalItemTags.MINING_TOOL_TOOLS)
|
||||
.add(Items.WOODEN_PICKAXE)
|
||||
|
@ -479,6 +481,7 @@ public final class ItemTagGenerator extends FabricTagProvider.ItemTagProvider {
|
|||
.add(Items.IRON_AXE)
|
||||
.add(Items.DIAMOND_AXE)
|
||||
.add(Items.NETHERITE_AXE)
|
||||
.add(Items.MACE)
|
||||
.addOptionalTag(ConventionalItemTags.MELEE_WEAPONS_TOOLS);
|
||||
|
||||
getOrCreateTagBuilder(ConventionalItemTags.RANGED_WEAPON_TOOLS)
|
||||
|
|
|
@ -241,6 +241,7 @@
|
|||
"tag.item.c.tools.crossbows": "Crossbows",
|
||||
"tag.item.c.tools.fishing_rod": "Fishing Rods",
|
||||
"tag.item.c.tools.fishing_rods": "Fishing Rods",
|
||||
"tag.item.c.tools.mace": "Maces",
|
||||
"tag.item.c.tools.melee_weapon": "Melee Weapons",
|
||||
"tag.item.c.tools.melee_weapons": "Melee Weapons",
|
||||
"tag.item.c.tools.mining_tool": "Mining Tools",
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"values": [
|
||||
"minecraft:mace"
|
||||
]
|
||||
}
|
|
@ -12,6 +12,7 @@
|
|||
"minecraft:iron_axe",
|
||||
"minecraft:diamond_axe",
|
||||
"minecraft:netherite_axe",
|
||||
"minecraft:mace",
|
||||
{
|
||||
"id": "#c:tools/melee_weapons",
|
||||
"required": false
|
||||
|
|
|
@ -49,6 +49,7 @@ public final class ConventionalItemTags {
|
|||
public static final TagKey<Item> SHIELD_TOOLS = register("tools/shield");
|
||||
public static final TagKey<Item> FISHING_ROD_TOOLS = register("tools/fishing_rod");
|
||||
public static final TagKey<Item> BRUSH_TOOLS = register("tools/brush");
|
||||
public static final TagKey<Item> MACE_TOOLS = register("tools/mace");
|
||||
|
||||
// Action-based tool tags
|
||||
public static final TagKey<Item> MELEE_WEAPON_TOOLS = register("tools/melee_weapon");
|
||||
|
|
Loading…
Reference in a new issue