Closed Hedgie1 closed 2 years ago
Do you mean https://github.com/PrismarineJS/mineflayer/pull/2302 ? Any idea @U5B ?
https://github.com/PrismarineJS/mineflayer/blob/master/docs/history.md among those recent changes I'd say Fixed wrong arm swinging (@IceTank) And Send arm_animation before use_entity (@aesthetic0001)
Might be related with your issue
I don't think we ever accounted for swing cooldown (which is what I assume this is about) when swinging.
You would have to build the cooldown into your own PvP plugin, mineflayer has no concept of it
I am using mineflayer-pvp plugin, it worked fine but after new mineflayer update it deals lower damage because the swing animation is called twice I think.
You should make sure that the item you are using is listed here and is the correct attack speed. https://github.com/PrismarineJS/mineflayer-pvp/blob/c54135944268521c6dc76a92f1bf8c8be5ae7fc2/src/AttackSpeeds.json I believe this issue should be moved to mineflayer-pvp.
Yeah, it's correct. As I said before, it was working fine until new mineflayer update (not mineflayer-pvp).
I think it may be related to @rom1504 's comment. (Fixed wrong arm swinging / Send arm_animation before use_entity)
The bug is caused by "Send arm_animation before use_entity" patch.
ok so the next step would be identifying the right behavior for this, https://github.com/Heath123/pakkit can help
Should be fixed now, try to update to 3.14.1
Should prob be closed
Versions
Detailed description of a problem
I am developing a bot with lot of functions, pvp too. PVP was working great until I installed the new version of mineflayer because of the SkinsRestorer fix.
When I start PVP mode now, the bot will hit me but is dealing very low damage, because he doesn't do full-charged hit.
Expected behavior
Bot should deal full-charged hits.
Additional context
Sorry for my bad english :D