GUI procedure somehow doesn't work

Started by PopcatCookie on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
GUI procedure somehow doesn't work

I've made a GUI with only one slot and a player_persistent global variable, and made a procedure that opens the GUI and sets the slot content to the item defined in the item variable, and another procedure that when the slot content changes, it sets the item variable to the slot content, but this 2nd procedure somehow doesn't work.

Open GUI procedure: https://imgur.com/a/NzWPHOf

On slot content changing procedure: https://imgur.com/a/v5ktP75

The slot config: https://imgur.com/a/sFKi8vJ

 

Thanks for the help !

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I also made a message on…
Sat, 06/14/2025 - 09:31

I also made a message on player tick update that constantly sends the value of the player_persistent item global variable, and it always says "air"