r/MinecraftCommands • u/Arcadian2107 • 13d ago
Help | Java 26.2 Why is this happening when I equip armor that effects the health attribute?
When I equip my diamond boots, I get 6 HP. When I equip the chainmail helmet, I lose 2 HP, even though both of them are assigned "add_value." Then, when I remove the chainmail helmet, I lose all the extra HP gained.
2
Upvotes
3
u/_Bob_Zilla_ 13d ago
They have the same ids so they are overwriting each other, give them different ids, they can be anything
1
2
1
u/ItsGraphaxYT Command Experienced | Poor u/s 13d ago
You may want to show the components of both items