Started by
ViperNC
on
Topic category: Help with Minecraft modding (Java Edition)
Hello there.
I'm currently using MCreator 2024.1 to develop a mod for NeoForge 1.20.4 and I have designed an armor.
I want to add attributes to this armor, such as +0.1 Max Speed and +5 Max Health etc. but I couldn't find how to do it since I'm pretty new in modding community. At least for the 1.20.4 version.
Edited by ViperNC on Thu, 12/04/2025 - 08:49
Nevermind. I figured it out, thanks to Gemini.
For anyone else who sees this, in MCreator 2025.3, you can change attributes using a potion effect.
You can also use the on player tick update global procedure trigger, check how many armor pieces a player is wearing and store it in a variable, then apply the potion effect for 2 or 3 ticks if the variable is at least 1, with potency equal to variable -1.
Something like that as a workaround to add attributes to armor. Although I think that Klemen has said that equipment attributes is a planned feature for some future update, but this works okay until that update comes out.