Hello, I'm relatively new to programming mods in Minecraft, I am developing a small private mod for now to learn programming with Java.
I have already created various items, blocks, weapons and tools. Now I would like to add an item that you hold in your hand to harm me.
I do not know, I've already searched, but how can I adjust that, for example, does harm to uranium in the hand?
Your help would be appreciated