MCPcopy Create free account
hub / github.com/PaperMC/Paper / getNearbyEntities

Method getNearbyEntities

paper-api/src/main/java/org/bukkit/World.java:1683–1683  ·  view source on GitHub ↗

Returns a list of entities within a bounding box centered around a Location. This may not consider entities in currently unloaded chunks. Some implementations may impose artificial restrictions on the size of the search bounding box. @param location The center of the bounding box @param x 1/2 t

(@NotNull Location location, double x, double y, double z)

Source from the content-addressed store, hash-verified

1681 * non-null collection.
1682 */
1683 @NotNull
1684 default Collection<Entity> getNearbyEntities(@NotNull Location location, double x, double y, double z) {
1685 return this.getNearbyEntities(location, x, y, z, null);
1686 }

Callers 1

getNearbyEntitiesMethod · 0.95

Implementers 1

CraftWorldpaper-server/src/main/java/org/bukkit/

Calls

no outgoing calls

Tested by

no test coverage detected