public class Position
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
x |
protected int |
y |
protected int |
z |
Constructor and Description |
---|
Position(int x,
int y,
int z) |
Position(int x,
short y,
int z) |
Position(Position toCopy)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Position |
getRelative(BlockFace face) |
int |
getX()
Deprecated.
|
int |
getY()
Deprecated.
|
int |
getZ()
Deprecated.
|
int |
hashCode() |
java.lang.String |
toString() |
GlobalPosition |
withDimension(java.lang.String dimension) |
int |
x() |
int |
y() |
int |
z() |
public Position(int x, int y, int z)
public Position(int x, short y, int z)
@Deprecated public Position(Position toCopy)
public int x()
public int y()
public int z()
public GlobalPosition withDimension(java.lang.String dimension)
@Deprecated public int getX()
@Deprecated public int getY()
@Deprecated public int getZ()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object