mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-20 07:34:48 +01:00
Add: player.getCompassTarget
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
parent
65e79b2885
commit
022f95b2f1
1 changed files with 7 additions and 0 deletions
|
@ -44,6 +44,13 @@ public interface Player extends HumanEntity, CommandSender {
|
||||||
*/
|
*/
|
||||||
public void setCompassTarget(Location loc);
|
public void setCompassTarget(Location loc);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the previously set compass target.
|
||||||
|
*
|
||||||
|
* @return location of the target
|
||||||
|
*/
|
||||||
|
public Location getCompassTarget();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the socket address of this player
|
* Gets the socket address of this player
|
||||||
* @return the player's address
|
* @return the player's address
|
||||||
|
|
Loading…
Reference in a new issue