mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-31 21:37:39 +01:00
Added compass setting methods.
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
parent
da6afe3866
commit
2262d7fba0
@ -2,6 +2,7 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
import java.net.InetSocketAddress;
|
||||
import org.bukkit.Location;
|
||||
|
||||
/**
|
||||
* Represents a player, connected or not
|
||||
@ -49,6 +50,13 @@ public interface Player extends HumanEntity {
|
||||
*/
|
||||
public void setDisplayName(String name);
|
||||
|
||||
/**
|
||||
* Set the target of the player's compass.
|
||||
*
|
||||
* @param loc
|
||||
*/
|
||||
public void setCompassTarget(Location loc);
|
||||
|
||||
/**
|
||||
* Gets the socket address of this player
|
||||
* @return the player's address
|
||||
|
Loading…
Reference in New Issue
Block a user