Started by
PatrickTheF
on
Topic category: Help with Minecraft modding (Java Edition)
how do I make working crafting table with one slot and one output on custom block? I have a block, and gui, but when I put the item in input frame nothing happens, any ideas?
I have no idea what all the extra stuff in the procedure is, but just use “get item from slot 0 = something” and remove item from slot 0 and then set item in slot 1. Other than that I don’t know what you are trying to do with “get copy of..”. Or maybe that is the correct way to do it, now that procedures are more complex in 2020.3
Why do you check that slot 1 has less than 64 items twice?
Why are you using the "get copy of" block? "Get item in slot" works just fine and is more reliable because this is how it's supposed to be used.
Third, you should make sure this procedure is actually firing when you want it to. A good way to test this is to make a "send message" block that prints something to chat so you know it's woking.
should I add this recipe to update tick of a block or where?
Update Tick but if it doesn't allow you to set it to when block right clicked. However that requires you exit out of the crafting table then re-enter it.
You should put a button in your GUI that executes this procedure.
any timer maybe? after some time crafts itself? it's cheese after all
"You should put a button in your GUI that executes this procedure." Oh yeah that too :)
ok, it's working fine, now I just need it to give me back empty bucket, thank you guys for help!
No problem, glad you've got it working! I didn't know that you wanted this to be time-based; I would have been a little more specific :P