diff --git a/paper-api/src/main/java/org/bukkit/entity/Entity.java b/paper-api/src/main/java/org/bukkit/entity/Entity.java index 0342fbc83b..8521a9ae4d 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Entity.java +++ b/paper-api/src/main/java/org/bukkit/entity/Entity.java @@ -903,5 +903,14 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent * Check if entity is inside a ticking chunk */ boolean isTicking(); + + /** + * Returns a set of {@link Player Players} within this entity's tracking range (players that can "see" this entity). + * + * @return players in tracking range + * @deprecated slightly misleading name, use {@link #getTrackedBy()} + */ + @Deprecated + @NotNull Set getTrackedPlayers(); // Paper end }