Steps to reproduce:
1. Spawn any mob that has a weapon.
2. /enchant @e[type=____] minecraft:_______ 1
May be intended but not sure.
Linked issues
relates to 1
Comments 8
Probably Works As Intended as you are not supposed to enchant other mobs' weapon enchantments. You can however have them spawn with enchanted weapons.
I think it'll just select the main hand as the offhand isn't used by them anyway.
LeftHanded:1b sets the left hand as main hand
@unknown I think it is is only visually in which hand the items are rendered, so this is not a problem (tested it)
Probably intended, since mobs don't have actual inventories, and /enchant is inventory based (it enchants the item currently selected).