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

From Minecraft Wiki
Jump to: navigation, search
m
m (Undo revision 1255169 by FVbico (talk) Actually, this is better)
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|compound|Item}}: The item
 
** {{nbt|compound|tag}}: The '''tag''' tag.
+
*** {{nbt|compound}}: A single Attribute Modifier.
 
**** {{nbt|string|AttributeName}}: The name of the Attribute this Modifier is to act upon.
*** {{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|compound}}: A single Attribute Modifier.
+
**** {{nbt|string|Name}}: Name of the Modifier
***** {{nbt|string|AttributeName}}: The name of the Attribute this Modifier is to act upon.
+
**** {{nbt|string|Slot}}: Slot the item must be in for the modifier to take effect. "mainhand", "offhand", "feet", "legs", "chest", or "head".
 
**** {{nbt|int|Operation}}: Modifier Operation. See [[Attribute#Modifiers|Attribute Modifiers]] for info.
***** {{nbt|string|Name}}: Name of the Modifier
 
***** {{nbt|string|Slot}}: Slot the item must be in for the modifier to take effect. "mainhand", "offhand", "feet", "legs", "chest", or "head".
+
**** {{nbt|double|Amount}}: Amount of change from the modifier.
 
**** {{nbt|long|UUIDMost}}: Uppermost bits of the modifier's UUID.
***** {{nbt|int|Operation}}: Modifier Operation. See [[Attribute#Modifiers|Attribute Modifiers]] for info.
 
***** {{nbt|double|Amount}}: Amount of change from the modifier.
+
**** {{nbt|long|UUIDLeast}}: Lowermost bits of the modifier's UUID.
***** {{nbt|long|UUIDMost}}: Uppermost bits of the modifier's UUID.
 
***** {{nbt|long|UUIDLeast}}: Lowermost bits of the modifier's UUID.
 
 
</onlyinclude></div><noinclude>
 
</onlyinclude></div><noinclude>
 
[[Category:Top-level data pages]]
 
[[Category:Top-level data pages]]

Revision as of 11:37, 20 August 2018

    •  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).
      • : 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.