BlockPos.MutableBlockPos
NULL_VECTOR
Constructor and Description |
---|
MutableBlockPos() |
MutableBlockPos(int x_,
int y_,
int z_) |
Modifier and Type | Method and Description |
---|---|
BlockPos |
getImmutable()
Returns a version of this BlockPos that is guaranteed to be Immutable.
|
int |
getX()
Get the X coordinate
|
int |
getY()
Get the Y coordinate
|
int |
getZ()
Get the Z coordinate
|
BlockPos.MutableBlockPos |
set(int xIn,
int yIn,
int zIn)
Set the values
|
add, add, add, crossProduct, down, down, east, east, fromLong, getAllInBox, getAllInBoxMutable, north, north, offset, offset, south, south, subtract, toLong, up, up, west, west
compareTo, distanceSq, distanceSq, distanceSqToCenter, equals, hashCode, toString
public MutableBlockPos()
public MutableBlockPos(int x_, int y_, int z_)
public BlockPos.MutableBlockPos set(int xIn, int yIn, int zIn)
xIn
- The X valueyIn
- The Y valuezIn
- The Z valuepublic BlockPos getImmutable()
BlockPos
getImmutable
in class BlockPos