geforkt von Mirrors/Paper
SPIGOT-436: Add accompanying getSpectatorTarget().
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
95a9781863
Commit
dc0588c29d
@ -1037,6 +1037,15 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
||||
*/
|
||||
public double getHealthScale();
|
||||
|
||||
/**
|
||||
* Gets the entity which is followed by the camera when in
|
||||
* {@link GameMode#SPECTATOR}.
|
||||
*
|
||||
* @return the followed entity, or null if not in spectator mode or not
|
||||
* following a specific entity.
|
||||
*/
|
||||
public Entity getSpectatorTarget();
|
||||
|
||||
/**
|
||||
* Sets the entity which is followed by the camera when in
|
||||
* {@link GameMode#SPECTATOR}.
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren