Skip to content

Commit 918be03

Browse files
committed
add tool tags to omni-breaker
1 parent a559897 commit 918be03

File tree

5 files changed

+22
-0
lines changed

5 files changed

+22
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"values": [
3+
"gtmutils:omnibreaker"
4+
]
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"values": [
3+
"gtmutils:omnibreaker"
4+
]
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"values": [
3+
"gtmutils:omnibreaker"
4+
]
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"values": [
3+
"gtmutils:omnibreaker"
4+
]
5+
}

src/main/java/net/neganote/gtutilities/common/item/UtilItems.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import com.gregtechceu.gtceu.api.item.component.IItemComponent;
66

77
import net.minecraft.resources.ResourceLocation;
8+
import net.minecraft.tags.ItemTags;
89
import net.neganote.gtutilities.GregTechModernUtilities;
910
import net.neganote.gtutilities.config.UtilConfig;
1011

@@ -45,6 +46,7 @@ public class UtilItems {
4546
// .end();
4647
})
4748
.properties(p -> p.stacksTo(1).durability(0))
49+
.tag(ItemTags.PICKAXES, ItemTags.AXES, ItemTags.SHOVELS, ItemTags.TOOLS)
4850
.onRegister(attach(
4951
ElectricStats.createElectricItem(UtilConfig.INSTANCE.features.omnibreakerEnergyCapacity,
5052
OMNIBREAKER_TIER),

0 commit comments

Comments
 (0)