public class PlayerSetting
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected double |
cursorCenter |
protected double |
cursorX |
protected double |
cursorY |
protected MapInteraction |
interaction |
protected long |
lastUpdated |
protected org.bukkit.Location |
location |
protected boolean |
mainhand |
protected java.lang.String |
map |
protected MapMenu |
menu |
protected java.util.UUID |
playerUUID |
protected CartographerRenderer |
renderer |
protected boolean |
rotating |
protected double |
zoomscale |
Modifier | Constructor and Description |
---|---|
protected |
PlayerSetting(CartographerRenderer renderer,
java.util.UUID uuid,
java.lang.String map,
org.bukkit.Location location) |
Modifier and Type | Method and Description |
---|---|
protected void |
deactivate() |
double |
getCursorX() |
double |
getCursorY() |
double |
getCursorYaw() |
MapInteraction |
getInteraction() |
org.bukkit.Location |
getLocation() |
java.lang.String |
getMap() |
int[] |
getMapCoordOf(org.bukkit.Location point) |
MapMenu |
getMenu() |
double |
getScale() |
java.util.UUID |
getUUID() |
boolean |
isMainHand() |
boolean |
isRotating() |
void |
setCursorX(double cursorX) |
void |
setCursorY(double cursorY) |
void |
setCursorYaw(double cursorCenter) |
PlayerSetting |
setScale(double scale) |
protected long lastUpdated
protected CartographerRenderer renderer
protected java.util.UUID playerUUID
protected org.bukkit.Location location
protected double zoomscale
protected java.lang.String map
protected boolean rotating
protected boolean mainhand
protected double cursorX
protected double cursorY
protected double cursorCenter
protected MapInteraction interaction
protected MapMenu menu
protected PlayerSetting(CartographerRenderer renderer, java.util.UUID uuid, java.lang.String map, org.bukkit.Location location)
public PlayerSetting setScale(double scale)
public java.util.UUID getUUID()
public boolean isRotating()
public java.lang.String getMap()
public MapMenu getMenu()
public double getScale()
public MapInteraction getInteraction()
public boolean isMainHand()
public double getCursorX()
public void setCursorX(double cursorX)
public double getCursorY()
public void setCursorY(double cursorY)
public double getCursorYaw()
public void setCursorYaw(double cursorCenter)
public org.bukkit.Location getLocation()
public int[] getMapCoordOf(org.bukkit.Location point)
protected void deactivate()