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. Then how do i check if the player is wearing the full set of armor?
  4. And when i get hit by a zombie or any mob it doesn't set them on fire.
  5. 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.
  6. I put the mod in the eclipse mod folder but it doesn't work.
  7. 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.
  8. I have a class that stores my items and I tried importing the package but it didn't work.
  9. 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.
  10. 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"};
  11. Alright, i moved it in my getIconIndex method and used that ItemStack's parameter.
  12. So i did public ItemStack stack; // I created a new ItemStack because it needed a parameter StaffInventory staffInv = new StaffInventory(stack);
  13. I'm not sure how to get the data from my StaffInventory class to ElementStaff but this is what i tried: ElementStaff:
  14. 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.