public static class BlockPos.MutableBlockPos extends BlockPos
BlockPos.MutableBlockPos, BlockPos.PooledMutableBlockPos
Modifier and Type | Field and Description |
---|---|
protected int |
x |
protected int |
y |
protected int |
z |
NULL_VECTOR
Constructor and Description |
---|
MutableBlockPos() |
MutableBlockPos(BlockPos pos) |
MutableBlockPos(int x_,
int y_,
int z_) |
Modifier and Type | Method and Description |
---|---|
BlockPos |
add(double x,
double y,
double z) |
BlockPos |
add(int x,
int y,
int z) |
int |
getX() |
int |
getY() |
int |
getZ() |
BlockPos.MutableBlockPos |
move(EnumFacing facing) |
BlockPos.MutableBlockPos |
move(EnumFacing facing,
int n) |
BlockPos |
offset(EnumFacing facing,
int n) |
BlockPos |
rotate(Rotation rotationIn) |
BlockPos.MutableBlockPos |
setPos(double xIn,
double yIn,
double zIn) |
BlockPos.MutableBlockPos |
setPos(Entity entityIn) |
BlockPos.MutableBlockPos |
setPos(int xIn,
int yIn,
int zIn) |
BlockPos.MutableBlockPos |
setPos(Vec3i vec) |
void |
setY(int yIn) |
BlockPos |
toImmutable() |
add, crossProduct, down, down, east, east, fromLong, getAllInBox, getAllInBox, getAllInBoxMutable, getAllInBoxMutable, north, north, offset, south, south, subtract, toLong, up, up, west, west
compareTo, distanceSq, distanceSq, distanceSqToCenter, equals, getDistance, hashCode, toString
public MutableBlockPos()
public MutableBlockPos(BlockPos pos)
public MutableBlockPos(int x_, int y_, int z_)
public BlockPos offset(EnumFacing facing, int n)
public BlockPos.MutableBlockPos setPos(int xIn, int yIn, int zIn)
public BlockPos.MutableBlockPos setPos(double xIn, double yIn, double zIn)
public BlockPos.MutableBlockPos setPos(Entity entityIn)
public BlockPos.MutableBlockPos setPos(Vec3i vec)
public BlockPos.MutableBlockPos move(EnumFacing facing)
public BlockPos.MutableBlockPos move(EnumFacing facing, int n)
public void setY(int yIn)
public BlockPos toImmutable()
toImmutable
in class BlockPos