Started by
Discobluff
on
Topic category: Help with Minecraft modding (Java Edition)
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
Can we make that the GUI open only if there is no bucket in the main hand ?