dougbot/bridge
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
..
lib FIX COMBAT: swing_source='attack' required for damage registration 2026-03-30 17:05:57 -05:00
patches Phase 1 complete: Doug connects, chats with personality 2026-03-30 02:03:25 -05:00
src Major overhaul: combat fix, smart brain, Ollama stability, crafting 2026-03-30 16:07:23 -05:00
.gitignore Fix chat, brain stability, MariaDB reconnect, suppress warnings 2026-03-30 12:33:17 -05:00
package-lock.json Rebuild bridge on mineflayer-bedrock — real movement! 2026-03-30 11:56:56 -05:00
package.json Rebuild bridge on mineflayer-bedrock — real movement! 2026-03-30 11:56:56 -05:00
tsconfig.json Phase 1 complete: Doug connects, chats with personality 2026-03-30 02:03:25 -05:00