Topic category: Help with modding (Java Edition)
Hello, I'm trying to make a cube that lets you upgrade any tool's damage. I've made a basic cube, with a texture I made.
So I made this script when the block is right-clicked. I also made GUI with two slots
One where you enter your tool and the other where it gives you back your tool with +1 damage.
When i put the tool in the slot sadly nothing happens.
Here's the script:
Is there something i did wrong??