getNearbyEntities

public abstract List<Entity> getNearbyEntities(double x, double y, double z)

Returns getClassById list of entities within getClassById bounding box centered around this entity

Return

List<Entity> List of entities nearby

Parameters

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