Started by
zefut
on
Topic category: Help with Minecraft modding (Java Edition)
Hi I created this procedure but when I'm at play it does not work it takes a lot of numbers to my variable but the bucket does not appear in the slot can you help me? 1/3
My Gui
in game 3/3
Your procedure pictures are broken.
sorry
I suggest you to print the CMLB variable value before the if statement to see what is the real value of it. This procedure should and will work if the variable has a proper value.
Make sure the coordinates of the block are proper too as if the coordinates of the set in slot block do not point to the block with container, the procedure block won't work.
Thank you I have a new problem the bucket does not appear but it is present because when I break the block bucket drop on the ground do you know where it can come from
It could be that you are placing it in the slot that is already full.
the location is empty when I break my block the item in question ends up on the ground
Items being dropped when breaking the block is normal as the block has its inventory and the inventory contains this item inside.
yes but suddenly why I do not see the items in the slot that's what I do not understand
Is the GUI slot bound to the inventory of your block - inventory called inherited? We have a YouTube tutorial on our channel on how to use procedures with cusom GUIs, it might helo.