Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean onTickInGame(Minecraft minecraft)
- {
- ItemStack boots = minecraft.thePlayer.inventory.armorInventory[0];
- ItemStack legs = minecraft.thePlayer.inventory.armorInventory[1];
- ItemStack chest = minecraft.thePlayer.inventory.armorInventory[2];
- ItemStack helm = minecraft.thePlayer.inventory.armorInventory[3];
- minecraft.thePlayer.isImmuneToFire = boots.itemID == mod_Dummy.bootsTitanium.shiftedIndex && legs.itemID == mod_Dummy.legsTitanium.shiftedIndex && chest.itemID == mod_Dummy.plateTitanium.shiftedIndex && helm.itemID == mod_Dummy.helmetTitanium.shiftedIndex;
- return true;
- }
Advertisement