33183952d5
Every hurt a player takes (PlayerMotion::hurt_blocking, which all player damage goes through) is kept: the damage type, the amount before blocking and armour, what a raised blocking item stopped, the health and absorption lost, the armour and armour toughness it met, the fire ticks, the health left and, for a mob's blow, the knockback it gave. Every melee blow on a mob is kept too: the damage after the attack strength (getAttackStrengthScale), the strength, a critical hit, the mob, whether it landed and killed. The last 64 of each are kept. `hurtlog` on the control socket hands them out, per player (the host and each LAN guest), and clears them: a harness can read what a fight did hit by hit and compare it with vanilla's numbers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit fdfa952379cbed89db1b46077a4ce11b99083e5a)