Package net.minecraft.core
Class BlockPos.MutableBlockPos
java.lang.Object
net.minecraft.core.Vec3i
net.minecraft.core.BlockPos
net.minecraft.core.BlockPos.MutableBlockPos
- All Implemented Interfaces:
Comparable<Vec3i>
- Enclosing class:
BlockPos
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.core.BlockPos
BlockPos.MutableBlockPos
-
Field Summary
Fields inherited from class net.minecraft.core.BlockPos
CODEC, PACKED_Y_LENGTH, STREAM_CODEC, ZERO
-
Constructor Summary
ConstructorDescriptionMutableBlockPos
(double p_122126_, double p_122127_, double p_122128_) MutableBlockPos
(int p_122130_, int p_122131_, int p_122132_) -
Method Summary
Modifier and TypeMethodDescriptionclamp
(Direction.Axis p_122148_, int p_122149_, int p_122150_) move
(int p_122185_, int p_122186_, int p_122187_) multiply
(int p_175305_) offset
(int p_122163_, int p_122164_, int p_122165_) relative
(Direction.Axis p_122145_, int p_122146_) set
(double p_122170_, double p_122171_, double p_122172_) set
(int p_122179_, int p_122180_, int p_122181_) set
(long p_122189_) setWithOffset
(Vec3i p_122155_, int p_122156_, int p_122157_, int p_122158_) setWithOffset
(Vec3i p_122160_, Direction p_122161_) setWithOffset
(Vec3i p_175307_, Vec3i p_175308_) setX
(int p_175341_) setY
(int p_175343_) setZ
(int p_175345_) Methods inherited from class net.minecraft.core.BlockPos
above, above, asLong, asLong, atY, below, below, betweenClosed, betweenClosed, betweenClosedStream, betweenClosedStream, betweenClosedStream, betweenClosedStream, breadthFirstTraversal, clampLocationWithin, containing, containing, cross, east, east, findClosestMatch, getBottomCenter, getCenter, getFlatIndex, getX, getY, getZ, max, min, mutable, north, north, of, offset, offset, offset, randomBetweenClosed, randomInCube, relative, south, south, spiralAround, squareOutSouthEast, subtract, west, west, withinManhattan, withinManhattanStream
Methods inherited from class net.minecraft.core.Vec3i
closerThan, closerToCenterThan, compareTo, distManhattan, distSqr, distToCenterSqr, distToCenterSqr, distToLowCornerSqr, equals, get, getX, getY, getZ, hashCode, offsetCodec, toShortString, toString
-
Constructor Details
-
MutableBlockPos
public MutableBlockPos() -
MutableBlockPos
public MutableBlockPos(int p_122130_, int p_122131_, int p_122132_) -
MutableBlockPos
public MutableBlockPos(double p_122126_, double p_122127_, double p_122128_)
-
-
Method Details
-
offset
-
multiply
-
relative
-
relative
-
rotate
-
set
-
set
-
set
-
set
-
set
public BlockPos.MutableBlockPos set(AxisCycle p_122140_, int p_122141_, int p_122142_, int p_122143_) -
setWithOffset
-
setWithOffset
public BlockPos.MutableBlockPos setWithOffset(Vec3i p_122155_, int p_122156_, int p_122157_, int p_122158_) -
setWithOffset
-
move
-
move
-
move
-
move
-
clamp
-
setX
-
setY
-
setZ
-
immutable
-