Package net.minecraft.util.math
Class BlockPos.PooledMutableBlockPos
- java.lang.Object
-
- net.minecraft.util.Vec3i
-
- net.minecraft.util.math.BlockPos
-
- net.minecraft.util.math.BlockPos.MutableBlockPos
-
- net.minecraft.util.math.BlockPos.PooledMutableBlockPos
-
- All Implemented Interfaces:
java.lang.Comparable<Vec3i>
- Enclosing class:
- BlockPos
public static final class BlockPos.PooledMutableBlockPos extends BlockPos.MutableBlockPos
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.util.math.BlockPos
BlockPos.MutableBlockPos, BlockPos.PooledMutableBlockPos
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockPos.PooledMutableBlockPos
movePos(net.minecraft.util.EnumFacing p_189538_1_, int p_189538_2_)
BlockPos.PooledMutableBlockPos
offsetMutable(net.minecraft.util.EnumFacing facing)
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)
BlockPos.PooledMutableBlockPos
set(double xIn, double yIn, double zIn)
BlockPos.PooledMutableBlockPos
set(int xIn, int yIn, int zIn)
BlockPos.PooledMutableBlockPos
set(Vec3i vec)
-
Methods inherited from class net.minecraft.util.math.BlockPos.MutableBlockPos
getX, getY, getZ, move, move, setPos, setPos, setPos, setY, toImmutable
-
Methods inherited from class net.minecraft.util.math.BlockPos
add, add, add, crossProduct, down, down, east, east, fromLong, getAllInBox, north, north, offset, offset, south, south, toLong, up, up, west, west
-
-
-
-
Method Detail
-
retain
public static BlockPos.PooledMutableBlockPos retain()
-
retain
public static BlockPos.PooledMutableBlockPos retain(double xIn, double yIn, double zIn)
-
retain
public static BlockPos.PooledMutableBlockPos retain(int xIn, int yIn, int zIn)
-
release
public void release()
-
set
public BlockPos.PooledMutableBlockPos set(int xIn, int yIn, int zIn)
-
set
public BlockPos.PooledMutableBlockPos set(double xIn, double yIn, double zIn)
-
set
public BlockPos.PooledMutableBlockPos set(Vec3i vec)
-
offsetMutable
public BlockPos.PooledMutableBlockPos offsetMutable(net.minecraft.util.EnumFacing facing)
-
movePos
public BlockPos.PooledMutableBlockPos movePos(net.minecraft.util.EnumFacing p_189538_1_, int p_189538_2_)
-
-