Add tritanium armor to freeze immune tag

This commit is contained in:
DBotThePony 2023-01-23 22:02:03 +07:00
parent b2bababac2
commit 740ae89ab2
Signed by: DBot
GPG Key ID: DCC23B5715498507
2 changed files with 9 additions and 1 deletions

View File

@ -7,6 +7,7 @@ import net.minecraft.world.item.BlockItem
import net.minecraft.world.item.Items
import net.minecraft.world.item.Tiers
import net.minecraft.world.level.block.Blocks
import ru.dbotthepony.mc.otm.datagen.recipes.addCraftingTableRecipes
import ru.dbotthepony.mc.otm.registry.MBlockTags
import ru.dbotthepony.mc.otm.registry.MBlocks
import ru.dbotthepony.mc.otm.registry.MItemTags
@ -35,6 +36,12 @@ fun addTags(tagsProvider: TagsProvider) {
tagsProvider.wires.add("copper", MItems.COPPER_WIRING)
tagsProvider.wires.add("gold", MItems.GOLD_WIRING)
tagsProvider.items.appender(ItemTags.FREEZE_IMMUNE_WEARABLES)
.add(MItems.TRITANIUM_BOOTS)
.add(MItems.TRITANIUM_PANTS)
.add(MItems.TRITANIUM_CHESTPLATE)
.add(MItems.TRITANIUM_HELMET)
tagsProvider.requiresPickaxe(
MBlocks.MATTER_CABLE,
MBlocks.STORAGE_CABLE

View File

@ -1,3 +1,4 @@
{
"required": true,
"package": "ru.dbotthepony.mc.otm.mixin",
@ -7,4 +8,4 @@
"mixins": [
"MixinPatchProjectileFinder"
]
}
}