i don't know what to call this but i need help

Started by brutus889 on

Topic category: Help with modding (Java Edition)

Last seen on 12:00, 30. Dec 2023
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i don't know what to call this but i need help

i have a block that i want to open a gui when i right click it in the air

Last seen on 19:20, 25. Jun 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could put a "Open gui"…
Tue, 05/30/2023 - 00:07

You could put a "Open gui" procedure block (not entirely sure what it's called, but it's something along those lines) on the right click procedure of the block. If you want it so you have to be jumping, just check if the block below the player is air and then open the gui if so.

Last seen on 12:00, 30. Dec 2023
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i found a way to do itPlayer…
Tue, 05/30/2023 - 12:30

i found a way to do it

Player right clicks with item
if item in main-hand of event/target entity = (item)
do open screen for event/target entity pass location x: x y: y z: z GUI: (gui)


but it just gives you the items back when you close it