Minecraft Wiki
m (Note important crash when Name property is left unset)
Tag: Visual edit
Jr Mime (talk | contribs)
(cleanup)
Tag: Undo
 
(10 intermediate revisions by 10 users not shown)
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 has 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.
**** {{nbt|string|Name}}: The name of the Modifier. Has no known effect. Crashes the game when left unset on Spigot servers.
+
**** {{nbt|string|Name}}: The name of the Modifier. Has no known effect.
 
**** {{nbt|string|Slot}}: Slot the item must be in for the modifier to take effect. "mainhand", "offhand", "feet", "legs", "chest", or "head".
 
**** {{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|int|Operation}}: Modifier Operation. See [[Attribute#Modifiers|Attribute Modifiers]] for info.
Line 11: Line 10:
 
</onlyinclude></div><noinclude>
 
</onlyinclude></div><noinclude>
 
[[Category:Top-level data pages]]
 
[[Category:Top-level data pages]]
  +
[[ja:Player.datフォーマット/Attribute Modifiers]]
  +
[[pt:Formato Player.dat/Modificadores de atributo]]
 
[[zh:Player.dat格式/属性修饰符]]
 
[[zh:Player.dat格式/属性修饰符]]
 
</noinclude>
 
</noinclude>

Latest revision as of 00:33, 16 November 2023

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