public static final class BlockPos.PooledMutable extends BlockPos.Mutable implements java.lang.AutoCloseable
BlockPos.Mutable, BlockPos.PooledMutable
Modifier and Type | Field and Description |
---|---|
private static java.util.List<BlockPos.PooledMutable> |
POOL |
private boolean |
released |
x, y, z
NULL_VECTOR
Modifier | Constructor and Description |
---|---|
private |
PooledMutable(int xIn,
int yIn,
int zIn) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
BlockPos.PooledMutable |
move(Direction facing) |
BlockPos.PooledMutable |
move(Direction facing,
int n) |
BlockPos.PooledMutable |
move(int xIn,
int yIn,
int zIn) |
static BlockPos.PooledMutable |
retain() |
static BlockPos.PooledMutable |
retain(double xIn,
double yIn,
double zIn) |
static BlockPos.PooledMutable |
retain(Entity entityIn) |
static BlockPos.PooledMutable |
retain(int xIn,
int yIn,
int zIn) |
BlockPos.PooledMutable |
setPos(double xIn,
double yIn,
double zIn) |
BlockPos.PooledMutable |
setPos(Entity entityIn) |
BlockPos.PooledMutable |
setPos(int xIn,
int yIn,
int zIn) |
BlockPos.PooledMutable |
setPos(Vec3i vec) |
add, add, func_218295_a, getX, getY, getZ, offset, rotate, setPos, setX, setY, setZ, 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
private boolean released
private static final java.util.List<BlockPos.PooledMutable> POOL
public static BlockPos.PooledMutable retain()
public static BlockPos.PooledMutable retain(Entity entityIn)
public static BlockPos.PooledMutable retain(double xIn, double yIn, double zIn)
public static BlockPos.PooledMutable retain(int xIn, int yIn, int zIn)
public BlockPos.PooledMutable setPos(int xIn, int yIn, int zIn)
setPos
in class BlockPos.Mutable
public BlockPos.PooledMutable setPos(Entity entityIn)
setPos
in class BlockPos.Mutable
public BlockPos.PooledMutable setPos(double xIn, double yIn, double zIn)
setPos
in class BlockPos.Mutable
public BlockPos.PooledMutable setPos(Vec3i vec)
setPos
in class BlockPos.Mutable
public BlockPos.PooledMutable move(Direction facing)
move
in class BlockPos.Mutable
public BlockPos.PooledMutable move(Direction facing, int n)
move
in class BlockPos.Mutable
public BlockPos.PooledMutable move(int xIn, int yIn, int zIn)
move
in class BlockPos.Mutable
public void close()
close
in interface java.lang.AutoCloseable