[SOLVED] Issue with GUI and procedures

Started by Discobluff on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED] Issue with GUI and procedures
Wed, 02/23/2022 - 08:43 (edited)

Hello, I have a block which open a GUI on right click. The block accepts a fluid by right clicking with a bucket. This procedure has two conditions : if it's a fill bucket, the fluid goes to the block, else, the fluid goes to the bucket from the block. But on a right click, the procedure is called two times so the fluid goes into the block and comes back in the bucket. Someone has an idea ?

 

https://ibb.co/LvL3kcp
https://ibb.co/pdrqt2h
https://ibb.co/rsGC8M9

Edited by Discobluff on Wed, 02/23/2022 - 08:43
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can we make that the GUI…
Tue, 02/22/2022 - 11:49

Can we make that the GUI open only if there is no bucket in the main hand ?