Fixed documentation of getNearbyEntities in Entity. Thanks to epuidokas for the PR.

By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot 2012-01-15 07:38:14 +00:00
parent 9b1383591b
commit 0c182ec82d

View File

@ -79,11 +79,11 @@ public interface Entity {
public boolean teleport(Entity destination, TeleportCause cause);
/**
* Returns a list of entities within a bounding box defined by x,y,z centered around player
* Returns a list of entities within a bounding box centered around this entity
*
* @param x Size of the box along x axis
* @param y Size of the box along y axis
* @param z Size of the box along z axis
* @param x 1/2 the size of the box along x axis
* @param y 1/2 the size of the box along y axis
* @param z 1/2 the size of the box along z axis
* @return List<Entity> List of entities nearby
*/
public List<org.bukkit.entity.Entity> getNearbyEntities(double x, double y, double z);