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

Method setSpectatorTarget

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

Sets the entity which is followed by the camera when in GameMode#SPECTATOR. @param entity the entity to follow or null to reset @throws IllegalStateException if the player is not in GameMode#SPECTATOR

(@Nullable Entity entity)

Source from the content-addressed store, hash-verified

1002 * {@link GameMode#SPECTATOR}
1003 */
1004 public void setSpectatorTarget(@Nullable Entity entity);
1005
1006 /**
1007 * Sends a title and a subtitle message to the player. If either of these

Callers

nothing calls this directly

Implementers 1

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

Calls

no outgoing calls

Tested by

no test coverage detected