Package net.minecraft.util.math
Class BlockPos.Mutable
- java.lang.Object
-
- net.minecraft.util.math.vector.Vector3i
-
- net.minecraft.util.math.BlockPos
-
- net.minecraft.util.math.BlockPos.Mutable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.util.math.BlockPos
BlockPos.Mutable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockPos.Mutable
clamp(Direction.Axis p_239620_1_, int p_239620_2_, int p_239620_3_)
BlockPos
immutable()
BlockPos.Mutable
move(int p_196234_1_, int p_196234_2_, int p_196234_3_)
BlockPos.Mutable
move(Direction p_189536_1_)
BlockPos.Mutable
move(Direction p_189534_1_, int p_189534_2_)
BlockPos.Mutable
move(Vector3i p_243531_1_)
BlockPos
offset(double p_177963_1_, double p_177963_3_, double p_177963_5_)
BlockPos
offset(int p_177982_1_, int p_177982_2_, int p_177982_3_)
BlockPos
relative(Direction.Axis p_241872_1_, int p_241872_2_)
BlockPos
relative(Direction p_177967_1_, int p_177967_2_)
BlockPos
rotate(Rotation p_190942_1_)
BlockPos.Mutable
set(double p_189532_1_, double p_189532_3_, double p_189532_5_)
BlockPos.Mutable
set(int p_181079_1_, int p_181079_2_, int p_181079_3_)
BlockPos.Mutable
set(long p_218294_1_)
BlockPos.Mutable
set(AxisRotation p_218295_1_, int p_218295_2_, int p_218295_3_, int p_218295_4_)
BlockPos.Mutable
set(Vector3i p_189533_1_)
BlockPos.Mutable
setWithOffset(Vector3i p_239621_1_, int p_239621_2_, int p_239621_3_, int p_239621_4_)
BlockPos.Mutable
setWithOffset(Vector3i p_239622_1_, Direction p_239622_2_)
void
setX(int p_223471_1_)
void
setY(int p_185336_1_)
void
setZ(int p_223472_1_)
-
Methods inherited from class net.minecraft.util.math.BlockPos
above, above, asLong, asLong, below, below, betweenClosed, betweenClosed, betweenClosedStream, betweenClosedStream, betweenClosedStream, betweenClosedStream, cross, east, east, findClosestMatch, getFlatIndex, getX, getY, getZ, mutable, north, north, of, offset, offset, offset, randomBetweenClosed, relative, south, south, spiralAround, subtract, west, west, withinManhattan, withinManhattanStream
-
Methods inherited from class net.minecraft.util.math.vector.Vector3i
closerThan, closerThan, compareTo, distManhattan, distSqr, distSqr, distSqr, equals, get, getX, getY, getZ, hashCode, toShortString, toString
-
-
-
-
Method Detail
-
offset
public BlockPos offset(double p_177963_1_, double p_177963_3_, double p_177963_5_)
-
offset
public BlockPos offset(int p_177982_1_, int p_177982_2_, int p_177982_3_)
-
relative
public BlockPos relative(Direction.Axis p_241872_1_, int p_241872_2_)
-
set
public BlockPos.Mutable set(int p_181079_1_, int p_181079_2_, int p_181079_3_)
-
set
public BlockPos.Mutable set(double p_189532_1_, double p_189532_3_, double p_189532_5_)
-
set
public BlockPos.Mutable set(Vector3i p_189533_1_)
-
set
public BlockPos.Mutable set(long p_218294_1_)
-
set
public BlockPos.Mutable set(AxisRotation p_218295_1_, int p_218295_2_, int p_218295_3_, int p_218295_4_)
-
setWithOffset
public BlockPos.Mutable setWithOffset(Vector3i p_239622_1_, Direction p_239622_2_)
-
setWithOffset
public BlockPos.Mutable setWithOffset(Vector3i p_239621_1_, int p_239621_2_, int p_239621_3_, int p_239621_4_)
-
move
public BlockPos.Mutable move(Direction p_189536_1_)
-
move
public BlockPos.Mutable move(Direction p_189534_1_, int p_189534_2_)
-
move
public BlockPos.Mutable move(int p_196234_1_, int p_196234_2_, int p_196234_3_)
-
move
public BlockPos.Mutable move(Vector3i p_243531_1_)
-
clamp
public BlockPos.Mutable clamp(Direction.Axis p_239620_1_, int p_239620_2_, int p_239620_3_)
-
-