Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void onTickInGame(EntityPlayer player, Minecraft minecraft) {
- ItemStack boots = ((EntityPlayer)Minecraft.thePlayer).inventory.armorInventory[0];
- ItemStack pants = ((EntityPlayer)Minecraft.thePlayer).inventory.armorInventory[1];
- ItemStack chest = ((EntityPlayer)Minecraft.thePlayer).inventory.armorInventory[2];
- ItemStack head = ((EntityPlayer)Minecraft.thePlayer).inventory.armorInventory[3];
- if(boots != null && boots.itemID == copperBoots.itemID) {
- player.addChatMessage("You got your armor on!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment