Closed ghost closed 9 years ago
Something like that :
https://github.com/andrewrk/mineflayer/blob/45df58afbfc98ad981d4e873261347e2e6f079da/lib/plugins/entities.js#L400 : we are on the receiving end of this
We need to add a serv.entities (indexed by entity id)
Then you can use serv.entities to know which entity was attacked
@rom1504 serv.entities complete.
Done
Working on it...
EDIT: Scratch that, Fighting with someone works fine with no neck movement.