TransWikia.com

How can I make a piece of armor give the player no protection?

Arqade Asked by zkll505 on March 22, 2021

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?

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

Answered by vain_alibi on March 22, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP