MCPcopy Create free account
hub / github.com/Teneted/Tenet / getSpectatorTarget

Method getSpectatorTarget

src/main/java/org/bukkit/entity/Player.java:993–993  ·  view source on GitHub ↗

Gets the entity which is followed by the camera when in GameMode#SPECTATOR. @return the followed entity, or null if not in spectator mode or not following a specific entity.

()

Source from the content-addressed store, hash-verified

991 * following a specific entity.
992 */
993 @Nullable
994 public Entity getSpectatorTarget();
995
996 /**

Callers

nothing calls this directly

Implementers 1

CraftPlayersrc/main/java/org/bukkit/craftbukkit/v

Calls

no outgoing calls

Tested by

no test coverage detected