Interface Loc
public interface Loc
Represents a location in the world, regardless of the server implementation
-
Method Summary
Modifier and TypeMethodDescription@NotNull String
getWorld()
Get the world nameint
getX()
Get the x coordinateint
getY()
Get the y coordinateint
getZ()
Get the z coordinatevoid
Set the world namevoid
setX
(int x) Set the x coordinatevoid
setY
(int y) Set the y coordinatevoid
setZ
(int z) Set the z coordinate
-
Method Details
-
getX
int getX()Get the x coordinate- Returns:
- x
-
getY
int getY()Get the y coordinate- Returns:
- y
-
getZ
int getZ()Get the z coordinate- Returns:
- z
-
getWorld
Get the world name- Returns:
- world
-
setX
void setX(int x) Set the x coordinate- Parameters:
x
- x
-
setY
void setY(int y) Set the y coordinate- Parameters:
y
- y
-
setZ
void setZ(int z) Set the z coordinate- Parameters:
z
- z
-
setWorld
Set the world name- Parameters:
world
- world
-