TransWikia.com

Removing attribute modifiers on dropped items

Arqade Asked by Ironotor on November 7, 2020

Just a quick question: what path would I use to remove all attribute modifiers from a dropped item?

ive used with no avail:

Item.tag.AttributeModifiers

Item.AttributeModifiers

AttributeModifiers

ive also tried the [] at the end as well

One Answer

The correct path is:

Item.tag.AttributeModifiers[]

to remove all attribute modifiers from a dropped item. If you've already tried this, then maybe your setup is wrong.

The command you'll need is:

/data remove entity @e[type=item,limit=1,sort=nearest] Item.tag.AttributeModifiers[]

Correct answer by ExpertCoder14 on November 7, 2020

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