Topic category: Troubleshooting, bugs, and solutions
I've been trying to make a coin dropping system in my mod. It correctly places a block with a number nbt tag called "heldCoins" and sets the tag's value. However, when I right click the block, it removes one coin from me instead of giving me an amount of coins equal to the nbt tag's value. Here's my code:
I've made sure that the correct value is getting put into the nbt tag and that the name matches. Can anyone help?