mojira.dev
MC-83841

replaceitem slot.weapon.offhand not working for mobs

/replaceitem entity @e[type=Zombie] slot.weapon.offhand dirt is supposed to replace the offhand slot. This works for players, however it does not work for mobs even though they have the HandItems tag containing two entries: The item in the main hand and the item in the offhand.

Comments 2

marcono1234

(Unassigned)

Confirmed

/replaceitem, mob, off-hand

Minecraft 15w31a, Minecraft 15w31b

Minecraft 15w36d

Retrieved