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
- All Implemented Interfaces:
Comparable<Vector3i>
- Enclosing class:
- BlockPos
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.util.math.BlockPos
BlockPos.Mutable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclamp
(Direction.Axis p_239620_1_, int p_239620_2_, int p_239620_3_) move
(int p_196234_1_, int p_196234_2_, int p_196234_3_) offset
(double p_177963_1_, double p_177963_3_, double p_177963_5_) offset
(int p_177982_1_, int p_177982_2_, int p_177982_3_) relative
(Direction.Axis p_241872_1_, int p_241872_2_) set
(double p_189532_1_, double p_189532_3_, double p_189532_5_) set
(int p_181079_1_, int p_181079_2_, int p_181079_3_) set
(long p_218294_1_) set
(AxisRotation p_218295_1_, int p_218295_2_, int p_218295_3_, int p_218295_4_) setWithOffset
(Vector3i p_239621_1_, int p_239621_2_, int p_239621_3_, int p_239621_4_) 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
-
Constructor Details
-
Mutable
public Mutable() -
Mutable
public Mutable(int p_i46024_1_, int p_i46024_2_, int p_i46024_3_) -
Mutable
public Mutable(double p_i50824_1_, double p_i50824_3_, double p_i50824_5_)
-
-
Method Details
-
offset
-
offset
-
relative
-
relative
-
rotate
-
set
-
set
-
set
-
set
-
set
public BlockPos.Mutable set(AxisRotation p_218295_1_, int p_218295_2_, int p_218295_3_, int p_218295_4_) -
setWithOffset
-
setWithOffset
public BlockPos.Mutable setWithOffset(Vector3i p_239621_1_, int p_239621_2_, int p_239621_3_, int p_239621_4_) -
move
-
move
-
move
-
move
-
clamp
-
setX
public void setX(int p_223471_1_) -
setY
public void setY(int p_185336_1_) -
setZ
public void setZ(int p_223472_1_) -
immutable
-