public static class MCspatialCoordinates3DItem.Position
extends java.lang.Object
| Constructor and Description |
|---|
Position(float x,
float y,
float z)
Creates a new Position with data.
|
| Modifier and Type | Method and Description |
|---|---|
float[] |
getCoordinates()
Gets coordinates.
|
float |
getX()
Gets X coordinate.
|
float |
getY()
Gets Y coordinate.
|
float |
getZ()
Gets Z coordinate.
|
void |
setCoordinates(float x,
float y,
float z)
Sets coordinates.
|
void |
setX(float x)
Sets X coordinate.
|
void |
setY(float y)
Sets Y coordinate.
|
void |
setZ(float z)
Sets Z coordinate.
|
public Position(float x,
float y,
float z)
x - x coordinate.y - y coordinate.z - z coordinate.public float[] getCoordinates()
public void setCoordinates(float x,
float y,
float z)
x - x coordinate.y - y coordinate.z - z coordinate.public float getX()
public void setX(float x)
x - coordinate.public float getY()
public void setY(float y)
y - coordinate.public float getZ()
public void setZ(float z)
z - coordinate.