Files
horizon-airdef/crates/horizon-client/src
Ludovic Marie 89cbe03ebe LAN: everyone sees players' arm swings
The host ignored ServerboundPunchPacket, so a guest mining or hitting
swung only on its own screen; only the first swing a guest's use ever
started went out, the host's own swings never did, the host drew no swing
on guests' bodies and a guest's client ignored
ClientboundSwingAnimationPacket.

The host now swings the guest's hand on a punch (handlePunch), sends each
tick's guest swings to the players around and the host's own to the
guests, and swings and ticks the guests' bodies it draws. A use the server
ran that swung goes back to the guest too: Horizon's client does not run
uses itself, so it never predicted that swing (the hoe). The guest's
client swings itself or the other entity on the packet.

lan_e2e.py swings: mining swings seen from each side, and the guest's own
hoe swing.

Part of #848

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 16:41:06 +02:00
..
2026-10-09 00:28:32 +02:00
2026-10-10 07:14:42 +02:00
2026-10-17 09:12:41 +02:00
2026-10-17 09:12:41 +02:00
2026-10-09 13:01:12 +02:00
2026-10-14 22:09:12 -04:00
2026-10-16 21:42:01 -04:00
2026-10-15 19:23:05 +02:00
2026-10-17 19:30:23 -05:00
2026-10-17 09:12:41 +02:00
2026-10-09 13:01:12 +02:00
2026-10-17 09:12:41 +02:00
2026-10-09 00:28:32 +02:00
2026-10-16 05:03:38 +02:00
2026-10-17 09:12:41 +02:00
2026-10-16 05:03:38 +02:00
2026-10-09 00:28:32 +02:00