public static class BlockPos.Mutable extends BlockPos
BlockPos.Mutable, BlockPos.PooledMutable
Modifier and Type | Field and Description |
---|---|
protected int |
x |
protected int |
y |
protected int |
z |
NULL_VECTOR
Constructor and Description |
---|
Mutable() |
Mutable(BlockPos pos) |
Mutable(double p_i50824_1_,
double p_i50824_3_,
double p_i50824_5_) |
Mutable(Entity p_i226062_1_) |
Mutable(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) |
BlockPos.Mutable |
func_218295_a(AxisRotation p_218295_1_,
int p_218295_2_,
int p_218295_3_,
int p_218295_4_) |
int |
getX() |
int |
getY() |
int |
getZ() |
BlockPos.Mutable |
move(Direction facing) |
BlockPos.Mutable |
move(Direction facing,
int n) |
BlockPos.Mutable |
move(int xIn,
int yIn,
int zIn) |
BlockPos |
offset(Direction facing,
int n) |
BlockPos |
rotate(Rotation rotationIn) |
BlockPos.Mutable |
setPos(double xIn,
double yIn,
double zIn) |
BlockPos.Mutable |
setPos(Entity entityIn) |
BlockPos.Mutable |
setPos(int xIn,
int yIn,
int zIn) |
BlockPos.Mutable |
setPos(long p_218294_1_) |
BlockPos.Mutable |
setPos(Vec3i vec) |
void |
setX(int xIn) |
void |
setY(int yIn) |
void |
setZ(int zIn) |
BlockPos |
toImmutable() |
add, crossProduct, deserialize, down, down, east, east, fromLong, func_218288_f, getAllInBox, getAllInBox, getAllInBox, getAllInBoxMutable, getAllInBoxMutable, north, north, offset, offset, offset, pack, serialize, south, south, subtract, toLong, unpackX, unpackY, unpackZ, up, up, west, west
compareTo, distanceSq, distanceSq, distanceSq, equals, func_229422_x_, hashCode, manhattanDistance, toString, withinDistance, withinDistance
public Mutable()
public Mutable(BlockPos pos)
public Mutable(int x_, int y_, int z_)
public Mutable(double p_i50824_1_, double p_i50824_3_, double p_i50824_5_)
public Mutable(Entity p_i226062_1_)
public BlockPos.Mutable setPos(int xIn, int yIn, int zIn)
public BlockPos.Mutable setPos(Entity entityIn)
public BlockPos.Mutable setPos(double xIn, double yIn, double zIn)
public BlockPos.Mutable setPos(Vec3i vec)
public BlockPos.Mutable setPos(long p_218294_1_)
public BlockPos.Mutable func_218295_a(AxisRotation p_218295_1_, int p_218295_2_, int p_218295_3_, int p_218295_4_)
public BlockPos.Mutable move(Direction facing)
public BlockPos.Mutable move(Direction facing, int n)
public BlockPos.Mutable move(int xIn, int yIn, int zIn)
public void setX(int xIn)
public void setY(int yIn)
public void setZ(int zIn)
public BlockPos toImmutable()
toImmutable
in class BlockPos