Difference between revisions of "Player.dat format/Attribute Modifiers"

From Minecraft Wiki
Jump to: navigation, search
m (Undo revision 1255169 by FVbico (talk) Actually, this is better)
m (present tense)
Line 1: Line 1:
 
<div class="treeview"><onlyinclude>
 
<div class="treeview"><onlyinclude>
** {{nbt|list|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 will have no effect).
+
** {{nbt|list|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).
 
*** {{nbt|compound}}: A single Attribute Modifier.
 
*** {{nbt|compound}}: A single Attribute Modifier.
 
**** {{nbt|string|AttributeName}}: The name of the Attribute this Modifier is to act upon.
 
**** {{nbt|string|AttributeName}}: The name of the Attribute this Modifier is to act upon.

Revision as of 20:33, 18 July 2019

    •  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: Name of the Modifier
        •  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: Uppermost bits of the modifier's UUID.
        •  UUIDLeast: Lowermost bits of the modifier's UUID.