mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
Expose Tracked Players
This commit is contained in:
parent
80b653d06f
commit
eb8dcb71a9
1 changed files with 9 additions and 0 deletions
|
@ -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<Player> getTrackedPlayers();
|
||||
// Paper end
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue