public class GuiLocation extends Object
Constructor and Description |
---|
GuiLocation(int x,
int y,
int z,
org.bukkit.World world,
Direction direction) |
GuiLocation(org.bukkit.Location location,
Direction direction) |
Modifier and Type | Method and Description |
---|---|
GuiPoint |
computeIntersection(GuiSize guiSize,
org.bukkit.Location cameraLocation) |
org.bukkit.Location |
getCenter(GuiSize guiSize) |
Direction |
getDirection() |
org.bukkit.World |
getWorld() |
int |
getX() |
int |
getY() |
int |
getZ() |
static GuiLocation |
parse(String string) |
String |
toString() |
org.bukkit.util.Vector |
toVector() |
public GuiLocation(int x, int y, int z, org.bukkit.World world, Direction direction)
public GuiLocation(org.bukkit.Location location, Direction direction)
public int getX()
public int getY()
public int getZ()
public org.bukkit.util.Vector toVector()
public org.bukkit.Location getCenter(GuiSize guiSize)
public org.bukkit.World getWorld()
public Direction getDirection()
public GuiPoint computeIntersection(GuiSize guiSize, org.bukkit.Location cameraLocation)
public static GuiLocation parse(String string)
Copyright © 2021. All rights reserved.