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 |
---|---|
int |
getX() |
int |
getY() |
int |
getZ() |
BlockPos.MutableBlockPos |
move(EnumFacing p_189536_1_) |
BlockPos.MutableBlockPos |
move(EnumFacing p_189534_1_,
int p_189534_2_) |
BlockPos.MutableBlockPos |
setPos(double p_189532_1_,
double p_189532_3_,
double p_189532_5_) |
BlockPos.MutableBlockPos |
setPos(Entity p_189535_1_) |
BlockPos.MutableBlockPos |
setPos(int xIn,
int yIn,
int zIn) |
BlockPos.MutableBlockPos |
setPos(Vec3i p_189533_1_) |
void |
setY(int yIn) |
BlockPos |
toImmutable() |
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, getDistance, hashCode, toString
public MutableBlockPos()
public MutableBlockPos(BlockPos pos)
public MutableBlockPos(int x_, int y_, int z_)
public BlockPos.MutableBlockPos setPos(int xIn, int yIn, int zIn)
public BlockPos.MutableBlockPos setPos(double p_189532_1_, double p_189532_3_, double p_189532_5_)
public BlockPos.MutableBlockPos setPos(Entity p_189535_1_)
public BlockPos.MutableBlockPos setPos(Vec3i p_189533_1_)
public BlockPos.MutableBlockPos move(EnumFacing p_189536_1_)
public BlockPos.MutableBlockPos move(EnumFacing p_189534_1_, int p_189534_2_)
public void setY(int yIn)
public BlockPos toImmutable()
toImmutable
in class BlockPos