Jump to content

shmcrae

Members
  • Posts

    97
  • Joined

  • Last visited

Everything posted by shmcrae

  1. When you wear the full set you're supposed to get speed 2 and Regeneration 3, It shows up on the left of the inventory and gives me the speed 2 but the regeneration effect doesn't work. Armor:
  2. It is working with setting entities on fire, but when I take any other damage besides from a mob or a whole bunch of mobs attack me at once it crashes. Crash: http://pastebin.com/SYLDpJDH
  3. Thank you all for the help
  4. Still nothing:
  5. Then how do i check if the player is wearing the full set of armor?
  6. And when i get hit by a zombie or any mob it doesn't set them on fire.
  7. Ok now i tried this:
  8. Sorry, I'm not understanding.
  9. And this is in the armor class?
  10. I'm trying to make it so when you have the full set of armor on and when a mob or player hits me they are set on fire. Similar to thorns but with fire.
  11. I put the mod in the eclipse mod folder but it doesn't work.
  12. Nevermind, i don't got it. The class that i'm trying to import is: import staffmod.core.common.item.MItems; This is from my other mod that i have, completely separate, how can I make this work.
  13. I think I got it, Thanks.
  14. I have a class that stores my items and I tried importing the package but it didn't work.
  15. I would like to have a core mod and then have my other mods use some items from my core mod. I tried looking this up but found nothing.
  16. I would have one array but i don't know how to switch between them private IIcon[staffTexture]; private static String[] staff = new String[] {RefStrings.MODID + ":elementStaff_fire"}; private static String[] empty = new String[] {RefStrings.MODID + ":elementStaff_empty"};
  17. Alright, i moved it in my getIconIndex method and used that ItemStack's parameter.
  18. So i did public ItemStack stack; // I created a new ItemStack because it needed a parameter StaffInventory staffInv = new StaffInventory(stack);
  19. I'm not sure how to get the data from my StaffInventory class to ElementStaff but this is what i tried: ElementStaff:
  20. How do i get the NBT data in the getIconIndex method in my ElementStaff class? That's what I'm not understanding.
×
×
  • Create New...

Important Information

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