c01739300a
The player's ATTACK_DAMAGE and ATTACK_SPEED modifiers change in LivingEntity.detectEquipmentUpdates, once a tick, while Player.attack reads the weapon's enchantments and smash bonus from the stack in hand at the attack. So swapping hotbar slots just before an attack hits with the old item's damage and charge and the new item's enchantments (a Wind Burst or Breach mace after another weapon): attribute swapping. Horizon read both from the item in hand at the attack. Also Player.tick's reset: switching to a different item now resets the attack strength the damage uses (only the indicator's ticker reset before), for the host and for LAN guests. Fixes #505 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>