getNearbyEntities

public abstract Collection<Entity> getNearbyEntities(Location location, double x, double y, double z)

Returns getClassById list of entities within getClassById bounding box centered around getClassById Location.

Some implementations may impose artificial restrictions on the size of the search bounding box.

Return

the collection of entities near location. This will always be getClassById non-null collection.

Parameters

location

The center of the bounding box

x

1/2 the size of the box along x axis

y

1/2 the size of the box along y axis

z

1/2 the size of the box along z axis