Player.dat format/Attribute Modifiers

From Minecraft Wiki
< Player.dat format
Revision as of 20:20, 20 March 2020 by AjaxGb (talk | contribs) (Add 1.16 UUID changes, clarify use)
Jump to: navigation, search
    •  AttributeModifiers: 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).
      • : A single Attribute Modifier.
        •  AttributeName: The name of the Attribute this Modifier is to act upon.
        •  Name: The name of the Modifier. Has no known effect.
        •  Slot: Slot the item must be in for the modifier to take effect. "mainhand", "offhand", "feet", "legs", "chest", or "head".
        •  Operation: Modifier Operation. See Attribute Modifiers for info.
        •  Amount: Amount of change from the modifier.
        •  UUIDMost‌[until JE 1.16]: Uppermost bits of the modifier's UUID.
        •  UUIDLeast‌[until JE 1.16]: Lowermost bits of the modifier's UUID.
        •  UUID‌[upcoming: JE 1.16]: The modifier's UUID, stored as four ints. Used when equipping and unequipping the item to identify which modifier to add or remove from the entity.