Added compass setting methods.
This commit is contained in:
parent
af769715f3
commit
c036295d7f
@ -2,6 +2,7 @@
|
|||||||
package org.bukkit.entity;
|
package org.bukkit.entity;
|
||||||
|
|
||||||
import java.net.InetSocketAddress;
|
import java.net.InetSocketAddress;
|
||||||
|
import org.bukkit.Location;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a player, connected or not
|
* Represents a player, connected or not
|
||||||
@ -49,6 +50,13 @@ public interface Player extends HumanEntity {
|
|||||||
*/
|
*/
|
||||||
public void setDisplayName(String name);
|
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
|
* Gets the socket address of this player
|
||||||
* @return the player's address
|
* @return the player's address
|
||||||
|
Loading…
x
Reference in New Issue
Block a user