I've tried commands around this concept, but couldn't wrap my head around the NBT data for them.
/replaceitem entity @p armor.feet minecraft:iron_boots 1
I want iron boots that don't actually do anything and are only cosmetic. How can I go about doing that?
Best Answer
Armor has an NBT value called operation, accessed like this:
{AttributeModifiers:[{Operation:0}]}
Operation is a value for how much armor protects the player. Operation:0 means the armor is purely cosmetic.
Try this:
/give @s minecraft:iron_boots{AttributeModifiers:[{Operation:0}]}