dougbot/bridge/lib
roberts 48d968a9d7 FIX COMBAT: swing_source='attack' required for damage registration
The Bedrock server requires the animate packet to have
has_swing_source=true and swing_source='attack' for the
inventory_transaction attack to actually deal damage.

Without this, the server accepts the packets silently but
never registers the hit. This was discovered by monitoring
what a real client sends vs what our bot sends.

Confirmed: skeleton took damage 20 → 19 → 18 → 17 HP

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 17:05:57 -05:00
..
mineflayer FIX COMBAT: swing_source='attack' required for damage registration 2026-03-30 17:05:57 -05:00
prismarine-chunk Fix chat, brain stability, MariaDB reconnect, suppress warnings 2026-03-30 12:33:17 -05:00
prismarine-registry Fix chat, brain stability, MariaDB reconnect, suppress warnings 2026-03-30 12:33:17 -05:00