mineflayer-pvp
mineflayer-pvp copied to clipboard
Add jumping when attacking
Jumping makes the bot harder to hit as well as adding critical strike damage. Trigger the bot to jump a few ticks before swinging it's sword for the best effect.
Measure how long it takes to start falling after jumping to properly calculate the timing.