Topic category: Help with modding (Java Edition)
I want to make a sword that when right clicked with you can activate it, but the durability will drain each tick. Right clicking it again would deactivate it. Though, I can't find a way to keep the durability of the item. I can do it for blocks, but not tools. Can anyone help?