类 BlockPos.MutableBlockPos
java.lang.Object
net.minecraft.core.Vec3i
net.minecraft.core.BlockPos
net.minecraft.core.BlockPos.MutableBlockPos
- 所有已实现的接口:
Comparable<Vec3i>
- 封闭类:
- BlockPos
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.core.BlockPos
BlockPos.MutableBlockPos
-
字段概要
从类继承的字段 net.minecraft.core.BlockPos
CODEC, PACKED_Y_LENGTH, ZERO
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明clamp
(Direction.Axis pAxis, int pMin, int pMax) move
(int pX, int pY, int pZ) multiply
(int pScalar) offset
(int pDx, int pDy, int pDz) relative
(Direction.Axis pAxis, int pAmount) set
(double pX, double pY, double pZ) set
(int pX, int pY, int pZ) set
(long pPackedPos) setWithOffset
(Vec3i pVector, int pOffsetX, int pOffsetY, int pOffsetZ) setWithOffset
(Vec3i pPos, Direction pDirection) setWithOffset
(Vec3i pPos, Vec3i pOffset) setX
(int pX) setY
(int pY) setZ
(int pZ) 从类继承的方法 net.minecraft.core.BlockPos
above, above, asLong, asLong, atY, below, below, betweenClosed, betweenClosed, betweenClosedStream, betweenClosedStream, betweenClosedStream, betweenClosedStream, breadthFirstTraversal, containing, containing, cross, east, east, findClosestMatch, getCenter, getFlatIndex, getX, getY, getZ, mutable, north, north, of, offset, offset, offset, randomBetweenClosed, randomInCube, relative, south, south, spiralAround, squareOutSouthEast, subtract, west, west, withinManhattan, withinManhattanStream
从类继承的方法 net.minecraft.core.Vec3i
closerThan, closerToCenterThan, compareTo, distManhattan, distSqr, distToCenterSqr, distToCenterSqr, distToLowCornerSqr, equals, get, getX, getY, getZ, hashCode, offsetCodec, toShortString, toString
-
构造器详细资料
-
MutableBlockPos
public MutableBlockPos() -
MutableBlockPos
public MutableBlockPos(int pX, int pY, int pZ) -
MutableBlockPos
public MutableBlockPos(double pX, double pY, double pZ)
-
-
方法详细资料
-
offset
-
multiply
-
relative
-
relative
-
rotate
-
set
-
set
-
set
-
set
-
set
-
setWithOffset
-
setWithOffset
public BlockPos.MutableBlockPos setWithOffset(Vec3i pVector, int pOffsetX, int pOffsetY, int pOffsetZ) -
setWithOffset
-
move
-
move
-
move
-
move
-
clamp
-
setX
-
setY
-
setZ
-
immutable
-