Data component format/attribute modifiers
- [NBT List / JSON Array] minecraft:attribute_modifiers: Contains attribute modifiers on this item which modify attributes of the wearer or holder (if the item is not in the hand or armor slots, it has no effect).
- [NBT Compound / JSON Object]: A single attribute modifier.
- [String] type: The name of the attribute this modifier is to act upon.
- [String] slot: Slot or slot type the item must be in for the modifier to take effect. Can be
any, hand, armor, mainhand, offhand, head, chest, legs, feet or body. Defaults to any.
- [String] id: The unique resource location to identify this modifier.
- [Double] amount: Amount of change from the modifier.
- [String] operation: Modifier operation. Can be
add_value, add_multiplied_base or add_multiplied_total. See Attribute Modifiers for info.
- [NBT Compound / JSON Object] display: Optional display field.
- [String] type: Display type. Can be
default, hidden or override.
- [NBT Compound / JSON Object][NBT List / JSON Array][String] value (only present if [String] type is
override): A text component to show for this attribute modifier entry.