Jump to content

Ninoviski

Members
  • Posts

    51
  • Joined

  • Last visited

Everything posted by Ninoviski

  1. Hey, i have a problem in my GUI, actually in the actionPerformed. I want to set fire to an entity when i click a button, but it crashes when i press it in the eclipse test mode, but if i want to set fire to the player, i can do it (i know that there is just one player and a lot of entities). The thing is that, when i right click an entity it opens the GUI, so, when i click the button, the entity that is going to be setted in fire is that one whose i openned the GUI. I havent tried yet, but i will: Instead of: public GUINino(EntityPlayer player) { } Make it: public GUINino(EntityPlayer par1EntityPlayer, EntityPigeon par2EntityPigeon) { PAR1 BLA BLA } PS: I know that i should put some world stuff, i will work on it... -- When i set fire to the player i use the "mc" stuff. Eg: this.mc.ThePlayer.setFire(timesettingfire) But when i try to set fire in my entity i use: this.nino.setFire( <<I created a field for nino, dont worry << So guys, i wish if anyone of you readers could help me See ya
×
×
  • Create New...

Important Information

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