Skip to content

Commit d9f910c

Browse files
authored
Include durability enchantable tag on hammers (#1012)
1 parent 4c7dc53 commit d9f910c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"values": [
3+
"modern_industrialization:iron_hammer",
4+
"modern_industrialization:steel_hammer",
5+
"modern_industrialization:diamond_hammer",
6+
"modern_industrialization:netherite_hammer"
7+
]
8+
}

src/main/java/aztech/modern_industrialization/datagen/tag/MIItemTagProvider.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ protected void addTags(HolderLookup.Provider provider) {
105105
tag(ItemTags.SHOVELS).add(MIItem.STEAM_MINING_DRILL.asItem(), MIItem.DIESEL_MINING_DRILL.asItem());
106106
tag(ItemTags.SWORDS).add(MIItem.DIESEL_CHAINSAW.asItem(), MIItem.QUANTUM_SWORD.asItem());
107107
tag(Tags.Items.MELEE_WEAPON_TOOLS).add(MIItem.DIESEL_CHAINSAW.asItem(), MIItem.QUANTUM_SWORD.asItem());
108+
tag(ItemTags.DURABILITY_ENCHANTABLE).add(MIItem.IRON_HAMMER.asItem(), MIItem.STEEL_HAMMER.asItem(), MIItem.DIAMOND_HAMMER.asItem(),
109+
MIItem.NETHERITE_HAMMER.asItem());
108110

109111
tag(ItemTags.HEAD_ARMOR).add(MIItem.RUBBER_HELMET.asItem(), MIItem.QUANTUM_HELMET.asItem());
110112
tag(ItemTags.CHEST_ARMOR).add(MIItem.QUANTUM_CHESTPLATE.asItem());

0 commit comments

Comments
 (0)