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?

1 Answer 1


Armor has an NBT value called operation, accessed like this:


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}]}

  • Your command works, however, you show a clear misunderstanding of what Operation does. It's part of the attribute modifier system, and the Operation tag is completely different from what you describe it as here. Due to evidence of a misunderstanding of what Operation does, I'm afraid I'll have to give this post a negative vote. I'd like you to familiarize yourself with how the attribute modifiers field works, edit your post to correctly describe it, and I'll be happy to change my vote to an upvote. Thanks!
    – One 2 Many
    Feb 22, 2021 at 6:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .