Minecraft Wiki
(Splitting off all item data into sub-pages, so they can be used on the respective item pages)
 
mNo edit summary
Line 1: Line 1:
 
<div class="treeview"><onlyinclude>
 
<div class="treeview"><onlyinclude>
  +
* {{nbt|compound|Item}}: The item
** {{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|compound|tag}}: The '''tag''' tag.
 
*** {{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|string|AttributeName}}: The name of the Attribute this Modifier is to act upon.
 
**** {{nbt|string|Name}}: Name of the Modifier
+
**** {{nbt|compound}}: A single Attribute Modifier.
**** {{nbt|string|Slot}}: Slot the item must be in for the modifier to take effect. "mainhand", "offhand", "feet", "legs", "chest", or "head".
+
***** {{nbt|string|AttributeName}}: The name of the Attribute this Modifier is to act upon.
 
***** {{nbt|string|Name}}: Name of the Modifier
**** {{nbt|int|Operation}}: Modifier Operation. See [[Attribute#Modifiers|Attribute Modifiers]] for info.
 
**** {{nbt|double|Amount}}: Amount of change from 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|int|Operation}}: Modifier Operation. See [[Attribute#Modifiers|Attribute Modifiers]] for info.
**** {{nbt|long|UUIDMost}}: Uppermost bits of the modifier's UUID.
 
**** {{nbt|long|UUIDLeast}}: Lowermost bits of the modifier's UUID.
+
***** {{nbt|double|Amount}}: Amount of change from the modifier.
 
***** {{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:36, 20 August 2018

  •  Item: The item
    •  tag: The tag tag.
      •  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.