Running procedures while in a GUI

Started by Agent_Y on

Topic category: Help with modding (Java Edition)

Last seen on 13:07, 4. Nov 2020
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Running procedures while in a GUI

So I'm trying to make a crafting table,

All the procedures work fine, I have one that checks if the right items are in the right slots, and if they are the result of the crafting is put in the output slot, then I've got another the removes anything in the output slot if something is removed from the input slots, and then one last on the removes the items in the input slot if the item that is output is taken. 

The issue I'm having is that I can't run the first procedure all the time, only when the contents of the input slots are changed, so it doesn't run when I put an item in the slot

Is there any way of having a procedure constantly running while a specific gui is open? Or some other way of making this work like a normal crafting bench in minecraft?

Thanks in advance

Last seen on 21:29, 7. Jun 2023
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you go to the GUI screen,…
Fri, 05/26/2023 - 02:29

If you go to the GUI screen, there's a slightly hidden button at the bottom of the screen that says "GUI Procedure triggers". You can find what you're looking for there.