-
Bug
-
Resolution: Fixed
-
Minecraft 15w37a, Minecraft 15w44b, Minecraft 15w46a
-
Confirmed
The bug
Armor slots have different names for /replaceitem and the Slot tag for AttributeModifiers:
replaceitem | AttributeModifiers Slot |
---|---|
slot.armor.feet | feet |
slot.armor.legs | legs |
slot.armor.chest | torso |
slot.armor.head | head |
slot.weapon.mainhand | mainhand |
slot.weapon.offhand | offhand |
You do not have to make it more complicated than it is already...
Note: The translation for Slot:"torso" in the item description is also
When on body:
Which still only affects the chest slot
How to reproduce
Use the following commands
AttributeModifiers
/give @p dirt 1 0 {AttributeModifiers:[{Amount:0d,AttributeName:"generic.attackSpeed",Name:"Slot Name Test",Operation:0,UUIDLeast:1,UUIDMost:1,Slot:"torso"}]}
replaceitem
/replaceitem entity @p slot.armor.chest diamond_chestplate
- relates to
-
MC-113878 Attribute modifiers description for chest is misleading / "When on body" instead of "When on chest"
- Open