mojira.dev
MC-83041

Armor slots in /replaceitem do not work as intended

Using the command /replaceitem entity @p slot.armor.<slotname> <item> will place the item in the wrong slot.

.head (slot 101): Error message
.chest (slot 100): Error message
.legs (slot 99): Offhand
.feet (slot 98): Main hand

Linked issues

Attachments

Comments 3

Can confirm.

The slot.armor slots seem to all target the slot 2 numbers lower than what they should. Thus, you can replace boots with slot.armor.chest slot, leggings with slot.armor.head, mainhand with slot.armor.feet, and offhand with slot.armor.legs.

Confirmed. The slot names are no longer properly synced with their appropriate slot number/ID.

Selicre

michael

Confirmed

Minecraft 15w31a

Minecraft 15w31b

Retrieved