Jump to content

Alpvax

Members
  • Posts

    304
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Alpvax

  1. Explains why adding this event handler didn't make the print statements appear twice, thanks for the explanation. The result of the button pressed within the GUI changes the value, or sending a command. As of yet I don't think the value is ever changed because I haven't finished my packet handler. Thanks, will try that. Do I need to register said class somewhere? Such as in the @Mod class? EDIT: Never mind, found it. (NetworkRegistry.registerConnectionHandler())
  2. I have tried to open my custom GUI on logging in/ spawning. I know the code works, as the GUI opens when I respawn, but not on initial login. EventHandler: Eclipse Output:
  3. There is an event for any entity other than a player joining the world, why can we not have an event for the player joining? for example this could be used to open a gui upon joining a server for the first time
×
×
  • Create New...

Important Information

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