public static final class BlockPos.PooledMutableBlockPos extends BlockPos.MutableBlockPos
BlockPos.MutableBlockPos, BlockPos.PooledMutableBlockPos
Modifier and Type | Field and Description |
---|---|
private static java.util.List<BlockPos.PooledMutableBlockPos> |
POOL |
private boolean |
released |
x, y, z
NULL_VECTOR
Modifier | Constructor and Description |
---|---|
private |
PooledMutableBlockPos(int xIn,
int yIn,
int zIn) |
Modifier and Type | Method and Description |
---|---|
BlockPos.PooledMutableBlockPos |
move(EnumFacing facing) |
BlockPos.PooledMutableBlockPos |
move(EnumFacing facing,
int n) |
void |
release() |
static BlockPos.PooledMutableBlockPos |
retain() |
static BlockPos.PooledMutableBlockPos |
retain(double xIn,
double yIn,
double zIn) |
static BlockPos.PooledMutableBlockPos |
retain(int xIn,
int yIn,
int zIn) |
static BlockPos.PooledMutableBlockPos |
retain(Vec3i vec) |
BlockPos.PooledMutableBlockPos |
setPos(double xIn,
double yIn,
double zIn) |
BlockPos.PooledMutableBlockPos |
setPos(Entity entityIn) |
BlockPos.PooledMutableBlockPos |
setPos(int xIn,
int yIn,
int zIn) |
BlockPos.PooledMutableBlockPos |
setPos(Vec3i vec) |
add, add, getX, getY, getZ, offset, rotate, setY, 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
private boolean released
private static final java.util.List<BlockPos.PooledMutableBlockPos> POOL
public static BlockPos.PooledMutableBlockPos retain()
public static BlockPos.PooledMutableBlockPos retain(double xIn, double yIn, double zIn)
public static BlockPos.PooledMutableBlockPos retain(Vec3i vec)
public static BlockPos.PooledMutableBlockPos retain(int xIn, int yIn, int zIn)
public void release()
public BlockPos.PooledMutableBlockPos setPos(int xIn, int yIn, int zIn)
setPos
in class BlockPos.MutableBlockPos
public BlockPos.PooledMutableBlockPos setPos(Entity entityIn)
setPos
in class BlockPos.MutableBlockPos
public BlockPos.PooledMutableBlockPos setPos(double xIn, double yIn, double zIn)
setPos
in class BlockPos.MutableBlockPos
public BlockPos.PooledMutableBlockPos setPos(Vec3i vec)
setPos
in class BlockPos.MutableBlockPos
public BlockPos.PooledMutableBlockPos move(EnumFacing facing)
move
in class BlockPos.MutableBlockPos
public BlockPos.PooledMutableBlockPos move(EnumFacing facing, int n)
move
in class BlockPos.MutableBlockPos