Jump to content

IamMaxim

Members
  • Posts

    56
  • Joined

  • Last visited

Everything posted by IamMaxim

  1. Edited message above. No, it doesn't crash. Just don't open
  2. I made message and message handler, but I can't open inventory again. Server receives message (it logs it) and then executes EntityPlayer.openGui method Here's message class:
  3. I call it from onKeyPressed() event. Now i can see my GUI and items, but I can't edit it. Items just go back in their slots when I try to take them. Is it GUI problem or I need to fully setup my messages and message handlers first? I have class GUICustomPlayerInventory extends GuiContainer and separate inventory stored in extendedProperties of player. I want to fully replace standart player inventory with mine. What's simplier: to overriding player.inventory or using my current method?
  4. Thanks! I used displayGuiScreen() and it works now.
×
×
  • Create New...

Important Information

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