Interface Position
public interface Position
Vector Util.
-
Method Summary
Modifier and TypeMethodDescription@Nullable StringGets the world name.doublegetX()Gets the x coordinate.doublegetY()Gets the y coordinate.doublegetZ()Gets the z coordinate.voidsetWorldName(@Nullable String world) Sets the world name.voidsetX(double x) Sets the x coordinate.voidsetY(double y) Sets the y coordinate.voidsetZ(double z) Sets the z coordinate.
-
Method Details
-
getX
double getX()Gets the x coordinate.- Returns:
- x.
-
getY
double getY()Gets the y coordinate.- Returns:
- y.
-
getZ
double getZ()Gets the z coordinate.- Returns:
- z.
-
getWorldName
Gets the world name.- Returns:
- name.
-
setWorldName
Sets the world name.- Parameters:
world- world.
-
setX
void setX(double x) Sets the x coordinate.- Parameters:
x- coordinate.
-
setY
void setY(double y) Sets the y coordinate.- Parameters:
y- coordinate.
-
setZ
void setZ(double z) Sets the z coordinate.- Parameters:
z- coordinate.
-