Started by
NxelScar
on
Topic category: Help with Minecraft modding (Java Edition)
I have a custom crafting table that works fine until slot 02 reaches 64 blocks. If the blocks are not removed, it still allows me to craft, spending the resources and losing the result because the slot is full. What is the way to block crafting until the space in slot 02 is released?
My procedure:
The problem:
It depends what you want. Check to make sure there are either no items in your output, or check to see if your output number of items plus the number of items in the output slot < 64 while also making sure they are the same block. (&& is and || is or)
If ((block == emptyItemstack) || ((block==block in output slot) && (number of total items <64))
Simple version of it without all your stuff just to handle that part.