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 BlockPos
BlockPos.MutableBlockPos, BlockPos.TraversalNodeStatus -
Field Summary
Fields inherited from class BlockPos
CODEC, MAX_HORIZONTAL_COORDINATE, PACKED_HORIZONTAL_LENGTH, PACKED_Y_LENGTH, STREAM_CODEC, ZERO -
Constructor Summary
ConstructorsConstructorDescriptionMutableBlockPos(double x, double y, double z) MutableBlockPos(int x, int y, int z) -
Method Summary
Modifier and TypeMethodDescriptionclamp(Direction.Axis axis, int minimum, int maximum) move(int x, int y, int z) multiply(int scale) offset(int x, int y, int z) relative(Direction.Axis axis, int steps) Offsets this Vector by the given distance in the specified direction.set(double x, double y, double z) set(int x, int y, int z) set(long pos) setWithOffset(Vec3i pos, int x, int y, int z) setWithOffset(Vec3i pos, Direction direction) setWithOffset(Vec3i pos, Vec3i offset) setX(int x) setY(int y) setZ(int z) Methods inherited from class BlockPos
above, above, asLong, asLong, atY, below, below, betweenClosed, betweenClosed, betweenClosed, betweenClosedStream, betweenClosedStream, betweenClosedStream, betweenClosedStream, betweenCornersInDirection, betweenCornersInDirection, betweenCornersInDirection, 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, withinManhattanStreamMethods inherited from class Vec3i
closerThan, closerToCenterThan, compareTo, distChessboard, distManhattan, distSqr, distToCenterSqr, distToCenterSqr, distToLowCornerSqr, equals, get, getX, getY, getZ, hashCode, multiply, offsetCodec, toMutable, toShortString, toString
-
Constructor Details
-
MutableBlockPos
public MutableBlockPos() -
MutableBlockPos
public MutableBlockPos(int x, int y, int z) -
MutableBlockPos
public MutableBlockPos(double x, double y, double z)
-
-
Method Details