(Recomendation) Feature to check if a certain GUI is open

Started by C-Entertainment on Sat, 05/15/2021 - 15:04

Topic category: Feature requests and ideas for MCreator

Last seen on 16:57, 16. Jul 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
(Recomendation) Feature to check if a certain GUI is open
Sat, 05/15/2021 - 15:04

Recommendation

The feature would be a block in the procedures where it would check if a certain gui was open. If the GUI is open it will execute the rest of the things afterwards if in a if statement.

example:

if currently open gui = CustomCraftingTable

if get item from slot 0 = dirt

set item in slot 9 = seed

(i shortened the blocks in the example procedure but you should understand how it should work.)