getNearbyEntities

Discussion in 'Plugin Development' started by KittyKatt, Sep 1, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    KittyKatt

    Does getNearbyEntities get entities in random order or does it start with the closest first?
     
  2. KittyKatt
    I believe it's random, but you can get the closest and furthest by comparing the locations with Location.distanceSquared().
     
Thread Status:
Not open for further replies.

Share This Page