How to Open a Vanilla GUI with a Keybind

Started by funtri on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to Open a Vanilla GUI with a Keybind

Hello! I would like to know if there was a way to open a vanilla GUI, such as the crafting table GUI, without making one of my own and all the recipes. If you could help, then thanks! If not, I'll just add this as a feature request.

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello. This is not really…
Mon, 07/31/2023 - 13:50

Hello. This is not really possible without custom code, as there aren't any ways of adding existing Minecraft UI mechanics to your own UIs.
So, you'd have to do it with custom code, or suggest adding things like the crafting field to the list of UI elements.

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know this is old, but i…
Sat, 05/18/2024 - 23:21

I know this is old, but i figured it out. You spawn a crafting table somewhere in the world, like 2 blocks below the player, and use the simulate right click block to open the gui and then put the old block back at the end using local variables.

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But the simulate right-click…
Fri, 06/14/2024 - 14:53

But the simulate right-click doesnt open gui