7426aed33c
LivingEntity.onEquipItem now runs for the player wherever vanilla calls it: the inventory menu's ArmorSlot and off-hand slot (setByPlayer, in the menu engine, so clicks, shift-clicks, number keys, drags and LAN guests' clicks), right-click equipping (Equippable.swapWithEquipmentSlot), the creative screen (every changed slot, as handleSetCreativeModeSlot sets it), the swap-hands key, dispensers (now also a shield into the off hand) and /item and /loot on armour slots. It plays Equippable.equipSound (the generic armour sound by default) on PLAYERS when the item lands in its own slot, and emits equip/unequip game events for armour; nothing for spectators, on a client, or when the item is unchanged. The menu click harness's oracle now records vanilla's onEquipItem calls. Fixes #986 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>