Closed chickenPizza closed 3 years ago
Related possibly? https://github.com/PrismarineJS/mineflayer/pull/2043
Solved with:
bot._client.on('explosion', explosion => { if (bot.physicsEnabled && bot.game.gameMode !== 'creative') { bot.entity.velocity.x += explosion.playerMotionX bot.entity.velocity.y += explosion.playerMotionY bot.entity.velocity.z += explosion.playerMotionZ } })
fixed in 3.10.0, if you update you dont need those lines
Versions
Detailed description of a problem
Is there any way to make the bot take knockback on hypixel?
What did you try yet?
Ive tried using this but it wont work:
bot._client.on('entity_velocity', v => { if (bot.entity.id !== v.entityId) return
})