Started by
APokeFish
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to create a condensor GUI, I don't use the green block in the "do" section, so don't think about that, but everytime I press the button that's supposed to activate this, nothing happens. HOW DO I FIX THIS???
I think the issue is that you used the GUI procedures rather than the Block Procedures.
GUI procedures have always been bugged, but you can use some Block procedures that do exactly what do the GUI procedures do except they only work with blocks (and not GUIs like the Villager trading).
I think the condensor is a block so Block procedures will work fine.
PS: there's a video on YouTube made by Pylo which explains exactly how to do a GUI like this
Also, if you want the block to give one ingot when put in the condesor (I don't think why, because usually a block gives you 9 ingots in a crafting table), you are not doing it properly.
You should also check if there are less than 64 items in the output (because if there already are 64 items the blocks will get wasted) and you should replace all those blocks in the do section with this:
Set (1 + get item in slot 1 of block at x, y, z) (ingots) in slot 1 of block at x, y, z
Remove 1 item from slot 0 of block at x, y, z
I tried only doing it with Block Procedures and I am trying to turn one block into one ingot and it still doesn't work. I watched Pylo's video when creating this and followed their steps and it STILL DOESN'T WORK.
Wait nevermind. Somehow your suggestion worked. Thanks!
I'm glad it now works :)