Jump to content

How to open the player inventory in forge 1.12.2


Recommended Posts

I was creating a mod which automatically opens player inventory in single player it was working, but in servers it didnt work. 

mc.displayGuiScreen(new GuiInventory(mc.player));

is there a packet to send or something? thanks in advance!

Edited by AhmedTheGreat
Link to comment
Share on other sites

  • Guest locked this topic
This topic is now closed to further replies.


  • Create New...

Important Information

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