Topic category: Help with modding (Java Edition)
this link is my procedure, I would like to move a block to another location and also transfer the items if it is NBT.
This procedure is performed with the right click of an item.
I can't think of a better way to identify all the slots without using the while loop and this procedure is buggy, when using in some NBT block it moves the block, the items but does not remove the old block and the item stops working the after that.
Can someone help me?