diff --git a/paper-api/src/main/java/org/bukkit/entity/Player.java b/paper-api/src/main/java/org/bukkit/entity/Player.java index 7484cf8355..3baaa0d611 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Player.java +++ b/paper-api/src/main/java/org/bukkit/entity/Player.java @@ -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