Topic category: Help with MCreator software
I'm making a mod that includes a pasta maker, the way it works is that you add the dough in an input slot and several options pop up in the output slot. Everything works fin, you put the dough in and the options pop up, then you take the one you want to make.
Everything after that becomes screwy, each output slot besides the one you picked from becomes empty, and if you click on an empty one it fixes the problem, but you get a free item
Here is the procedure for when the input slot changes: https://imgur.com/a/tCmc4AD
Here is the procedure for when an item from an output slot is removed: https://imgur.com/a/GDZWQrp
Here is what happens in game: https://imgur.com/a/EPZJJt0
Edit: the gif loops to quickly, so i cant show you the problem
I wasn't able to see in the video what the problem was but i see problems in the pictures.
i believe you were trying to make it work like a crafting table in the sense where if you input the right item in the right slot you have the option to take the item in the next slot if you take the item in the next slot all required items are removed.
so i made it for you here you go i take no official ownership of this file. feel free to modify it to your standards. :)
Link: http://www.filedropper.com/pastafix
if that doesn't work here is the code:
That didn't work,
This ended up happening https://imgur.com/a/SGMxci3
Nevermind, I got it working, Thank you so much!
Make sure you do everything as I did in the image also set the tick update for the block to 1.
I tested it myself in my game it works.
Oh okay good :)
Hey, its been a while since i took a break on my mod, but I've found two bugs. One happens when you shift-click the items in the output slot, it momentarily fills up your inventory, empties the input slot, and only gives you one item. The other happens when you run out of items in the input slot, it doesn't empty the output slots like it's supposed to, it just lets you keep taking the items until it runs out...
My procedure is exactly the same as yours, and here's a video of the problem: https://imgur.com/a/Y6t6HZV
I tested it myself just now, I found no problems btw be sure to set the block tick update to 1
Maybe there's something else I'm missing, what trigger did you use in the gui? Did you add any extra code to the gui? What version of MCreator and Minecraft are you using? Is the screenshot you sent from an earlier try? Did you use any other procedures? And yes, I set the tick update to one
first question i used on block tick update.
second question i haven't added any extra code to the gui.
third question i am using 2020.3
fourth question this screenshot is up to date.
no other procedure as used for this.
Go back and check everything 1 by 1 and make sure is exactly the same.
remember to use the block nbt not entity nbt.
That makes sense, I had set the procedure to be triggered when slot 0 changed, that just fixed all of my problems! Thank you for putting up with me
No it's okay things happen :)