Jump to content

endershadow

Forge Modder
  • Posts

    535
  • Joined

  • Last visited

Everything posted by endershadow

  1. I tried that but it didn't work. did I do something wrong? I also tried switching the 4 to 1 and 3 to 2 and vice versa. if (player.getCurrentItemOrArmor(4) != null && player.getCurrentItemOrArmor(3) != null && player.getCurrentItemOrArmor(2) != null && player.getCurrentItemOrArmor(1) != null) { ItemStack helmet = player.getCurrentItemOrArmor(4); ItemStack chest = player.getCurrentItemOrArmor(3); ItemStack legs = player.getCurrentItemOrArmor(2); ItemStack boots = player.getCurrentItemOrArmor(1); if (helmet.getItem() == CodeLyoko.AelitaHelmet && chest.getItem() == CodeLyoko.AelitaChest && legs.getItem() == CodeLyoko.AelitaLegs && boots.getItem() == CodeLyoko.AelitaBoots) { player.capabilities.allowFlying = true; } }
  2. haven't figured out what will work in that method, but thanks for the help.
  3. do I extend or implement? and what is the name of the file exactly?
  4. I'll let you know if I find anything that works
  5. I've made some armor in my mod and I was wondering if anyone knows how I can give the player special abilities like flying, sprinting, etc. I know how to make the character fly, but not check if they're wearing the armor or not.
  6. I also tried updating my drivers but they're all updated.
  7. when I load minecraft 1.3.2 with forge 4.0.0.200 I get this error. but when I run minecraft with a clean minecraft.jar, it works fine. yes I deleted the meta-inf folder.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.