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];
- if(boots == null || legs == null || chest == null || helm == null)
- {
- return false;
- }
- else if(boots.itemID == mod_Dummy.bootsTitanium.shiftedIndex && legs.itemID == mod_Dummy.legsTitanium.shiftedIndex && chest.itemID == mod_Dummy.plateTitanium.shiftedIndex && helm.itemID == mod_Dummy.helmetTitanium.shiftedIndex)
- {
- minecraft.thePlayer.isImmuneToFire = true;
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment