Skip to content

Commit

Permalink
Fix #920: Armor and sword tags for rubber and quantum tiers (#967)
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n authored Dec 19, 2024
1 parent 45e1155 commit 4cc4965
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"values": [
"modern_industrialization:diesel_chainsaw",
"modern_industrialization:quantum_sword"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"modern_industrialization:quantum_chestplate"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"values": [
"modern_industrialization:rubber_boots",
"modern_industrialization:quantum_boots"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"values": [
"modern_industrialization:rubber_helmet",
"modern_industrialization:quantum_helmet"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"modern_industrialization:quantum_leggings"
]
}
3 changes: 2 additions & 1 deletion src/generated/resources/data/minecraft/tags/item/swords.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"values": [
"modern_industrialization:diesel_chainsaw"
"modern_industrialization:diesel_chainsaw",
"modern_industrialization:quantum_sword"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,13 @@ protected void addTags(HolderLookup.Provider provider) {
tag(ItemTags.HOES).add(MIItem.DIESEL_CHAINSAW.asItem());
tag(ItemTags.PICKAXES).add(MIItem.STEAM_MINING_DRILL.asItem(), MIItem.DIESEL_MINING_DRILL.asItem());
tag(ItemTags.SHOVELS).add(MIItem.STEAM_MINING_DRILL.asItem(), MIItem.DIESEL_MINING_DRILL.asItem());
tag(ItemTags.SWORDS).add(MIItem.DIESEL_CHAINSAW.asItem());
tag(ItemTags.SWORDS).add(MIItem.DIESEL_CHAINSAW.asItem(), MIItem.QUANTUM_SWORD.asItem());
tag(Tags.Items.MELEE_WEAPON_TOOLS).add(MIItem.DIESEL_CHAINSAW.asItem(), MIItem.QUANTUM_SWORD.asItem());

tag(ItemTags.HEAD_ARMOR).add(MIItem.RUBBER_HELMET.asItem(), MIItem.QUANTUM_HELMET.asItem());
tag(ItemTags.CHEST_ARMOR).add(MIItem.QUANTUM_CHESTPLATE.asItem());
tag(ItemTags.LEG_ARMOR).add(MIItem.QUANTUM_LEGGINGS.asItem());
tag(ItemTags.FOOT_ARMOR).add(MIItem.RUBBER_BOOTS.asItem(), MIItem.QUANTUM_BOOTS.asItem());

tag(ItemTags.COALS).add(ResourceKey.create(Registries.ITEM, MI.id("lignite_coal")));

Expand Down

0 comments on commit 4cc4965

Please sign in to comment.