b8e729b950
A server's players (LAN guests, and single player's window on its server thread) never had a totem ready, and nothing applied one: lethal damage killed them with the totem still in hand (#1292). Each guest turn now readies the totem from the guest's hands and, when its hurt set it off, uses it up at the end of the turn (LivingEntity.checkTotemDeathProtection): 1 health, the item_used stat, the used_totem trigger, the use vibration, the totem's effects. Entity event 35 now goes to every client around, the holder's own too, and a client plays it as ClientPacketListener.handleEntityEvent does: the totem particles, the sound heard locally (not sent on as a sound packet, so no client hears it twice) and the holder's rumble. lan_e2e totem: host and guest, off hand and main hand, both modes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>