Procedure only works in GUI slot 0 (which is causing problems)

Started by nilek20 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure only works in GUI slot 0 (which is causing problems)

I created the below procedure to generate energy for a block i made. if i place the procedure in "When slot contents change" of slot 0 of my GUI it works except for one thing. the procedure only triggers when a player opens or closes the GUI. the procedure will not restart its "loop" unless the player provides an update to the GUI. but if i try and place the procedure any where else the procedure breaks in some way or another. If anyone can tell me how to go about fixing this i would appreciate it.

https://drive.google.com/file/d/1Si28ip5Ib3qpDbOW2hf5ENY_5fd0qTjG/view?usp=sharing