Closed herobrine99dan closed 3 years ago
We can make this check using the player.getNearbyEntities(x,y,z) method.
To fix lag issues we can store the last positions of the entity and then get the entity location based on player's ping.
https://github.com/herobrine99dan/NESS-Reloaded/commit/cc5accbdcbbf8549e21469d3aa08a94a3f3647c8 Starting works TODO Add hitboxes of other entities (make only one method to get them from nms) TODO Account for lag (store latest entity position using ticks)
More Hitbox were added https://github.com/herobrine99dan/NESS-Reloaded/commit/cfdd029d85a658c7817a9d1b339ead8fbf87f30e TODO Account for lag (store latest entity position using ticks)
What server version are you running? 1.12.2
What version of NESS Reloaded are you running?2.8 Latest DevBuild
Describe the BugThe current reach check can detect only 5 blocks of reach correctly, the best thing is to have 4 or 3.5 blocks reach detection
Do you have some videos / screenshots?No
If it is an error, do you have logs?No Errors