Jump to content

shmcrae

Members
  • Posts

    97
  • Joined

  • Last visited

Everything posted by shmcrae

  1. Alright, I tried this and the getIconIndex and nothing. readFromNBT: ElementStaff:
  2. I guess I'm getting totally confused. So I still need the getIconIndex method in my item class along with this in the readFromNBT. I'm not to sure what do put in the getIconIndex method, I know I return an icon but what do I compare what to to return an icon.
  3. Ok I tried this and still nothing.
  4. I tried this but it didn't work, not sure if I'm on the right path.
  5. Alright, I'm still unsure how to check my item in the slot. readFromNBT and do I check it in here or do i check it in my item class with getIconIndex?
  6. Alright, how would I check the NBT data and do i check it in the getIconIndex method? StaffInventory
  7. This is what i got so far, not sure if this is right.
  8. So I put it in my item class so it would look like this that's what's in the Item class. So i would put an if statement in there but how do i check my custom slot and what item is there
  9. Where do i put this method and also how do i check for an item in my custom gui slot.
  10. I'm wondering how to change the texture of the item (Staff) based on the item that is in the staff. I'm not sure how I can check if a certain item is in a slot. StaffInventory: StaffContainer:
  11. Thanks, do you know how I make it so you can shift click items in?
  12. I think the Gui is fine, it's just the slot positions are messed up and I followed a tutorial so I'm not sure how to fix it. I know it's probably in here but I'm not sure what numbers to use to fix it StaffContainer:
  13. How do i fix this StaffGui:
  14. Thanks I'll check it out and tell you if it works.
  15. I'm trying to make when you have my item and you press a key it opens the Gui, but it doesn't work. I also don't know how to make an item have a slot and can't find tutorials on it. Main: KeyHandler: PacketPipeline: AbstractPacket: OpenGuiPacket: GuiHandler: StaffGui: StaffContainer: ElementStaff: RefStrings: ClientProxy:
  16. How would i render it from positioning instead of from the entity
  17. Where is the range?
  18. Thank you it's rendering now but its rendering in short bursts not a constant beam Edit: ps i took the doRenderFlames part from the renderArrow in the RenderArrow class Render Class: http://pastebin.com/sa0BqA5q
  19. It crashed heres the report http://pastebin.com/1BjQ8W9W
  20. I already did that, if you look above i listed all of my classes. Flame Staff: http://pastebin.com/JjNSnmwr EntityFlames: http://pastebin.com/y0z8LHUa (I extended the entity by EntityArrow, don't know if thats wrong) RenderFlames: http://pastebin.com/rqtENPX7 MainClass: http://pastebin.com/54QiyPEe ClientProxy: http://pastebin.com/qY8FzLPx I already made the Render class and i already have the registry in the client proxy. But it still wont render the beam.
  21. ok so what would be the problem with the beam rendering?
  22. is it because of this if (!par2World.isRemote) { par2World.spawnEntityInWorld(new EntityFlames(par2World, 0.0, 0.0, 0.0)); } should i get rid of the if statement
×
×
  • Create New...

Important Information

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