geforkt von Mirrors/Paper
Expose Tracked Players
Dieser Commit ist enthalten in:
Ursprung
80b653d06f
Commit
eb8dcb71a9
@ -903,5 +903,14 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
|
|||||||
* Check if entity is inside a ticking chunk
|
* Check if entity is inside a ticking chunk
|
||||||
*/
|
*/
|
||||||
boolean isTicking();
|
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
|
// Paper end
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren