Topic category: Help with Minecraft modding (Java Edition)
So I'm making a vault block that will give the player an item in one of the output slots, slot 3, when they place a sword (set up as a tag including wooden, stone, iron, and gold swords), and a gold ingot, and a custom armor piece, in slots 0,1,2 respectively. It should remove the three inputs when they are placed inside. I got it to work for the custom armor and the gold ingot but it always leaves the sword. It also doesn't give me the item in the slot anymore. It did work and then I added some extra checks to make sure the player doesn't get infinite items. Please tell me if there is either a better way to do this or what I've done wrong with it. Thank you in advance!
Here are my procedures and other things: