Started by
CrypTic Deadman
on
Topic category: Help with Minecraft modding (Java Edition)
I'm currently working on an armour mod, and for this to properly work I was wondering if there is any possible way you can change the default minecraft armour values by overriding them? Either with code or not because I can't find anything. Thank you!
What I always would do, is check if the item is picked up for the first time (ex. some specific diamond sword) using an NBT tag.
The procedure looks smth like this:
In your case, put this kind of procedure in "Item in hand" event.
But if you want to change vanilla attributes (damage, attack speed etc.), you might need to use commands from the game.
This should help: https://minecraft.fandom.com/wiki/Attribute