How do I make an item open a vanilla gui on right click?

Started by HexGaming on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make an item open a vanilla gui on right click?

So I am making a mod that requires an existing vanilla gui to be opened when an item is right clicked. I already made the procedure, but I can't seem to figure out how to make it open the gui (in this case the crafting table)