类 BitSetDiscreteVoxelShape
java.lang.Object
net.minecraft.world.phys.shapes.DiscreteVoxelShape
net.minecraft.world.phys.shapes.BitSetDiscreteVoxelShape
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.phys.shapes.DiscreteVoxelShape
DiscreteVoxelShape.IntFaceConsumer, DiscreteVoxelShape.IntLineConsumer
-
字段概要
字段修饰符和类型字段说明private final BitSet
private int
private int
private int
private int
private int
private int
从类继承的字段 net.minecraft.world.phys.shapes.DiscreteVoxelShape
xSize, ySize, zSize
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
clearZStrip
(int pZMin, int pZMax, int pX, int pY) void
fill
(int pX, int pY, int pZ) private void
fillUpdateBounds
(int pX, int pY, int pZ, boolean pUpdate) int
firstFull
(Direction.Axis pAxis) protected static void
forAllBoxes
(DiscreteVoxelShape pShape, DiscreteVoxelShape.IntLineConsumer pConsumer, boolean pCombine) protected int
getIndex
(int pX, int pY, int pZ) boolean
isEmpty()
boolean
isFull
(int pX, int pY, int pZ) private boolean
isXZRectangleFull
(int pXMin, int pXMax, int pZMin, int pZMax, int pY) private boolean
isZStripFull
(int pZMin, int pZMax, int pX, int pY) (专用程序包) static BitSetDiscreteVoxelShape
join
(DiscreteVoxelShape pMainShape, DiscreteVoxelShape pSecondaryShape, IndexMerger pMergerX, IndexMerger pMergerY, IndexMerger pMergerZ, BooleanOp pOperator) int
lastFull
(Direction.Axis pAxis) static BitSetDiscreteVoxelShape
withFilledBounds
(int pX, int pY, int pZ, int pXMin, int pYMin, int pZMin, int pXMax, int pYMax, int pZMax) 从类继承的方法 net.minecraft.world.phys.shapes.DiscreteVoxelShape
firstFull, forAllBoxes, forAllEdges, forAllFaces, getSize, getXSize, getYSize, getZSize, isFull, isFullWide, isFullWide, lastFull
-
字段详细资料
-
storage
-
xMin
private int xMin -
yMin
private int yMin -
zMin
private int zMin -
xMax
private int xMax -
yMax
private int yMax -
zMax
private int zMax
-
-
构造器详细资料
-
BitSetDiscreteVoxelShape
public BitSetDiscreteVoxelShape(int pXSize, int pYSize, int pZSize) -
BitSetDiscreteVoxelShape
-
-
方法详细资料
-
withFilledBounds
public static BitSetDiscreteVoxelShape withFilledBounds(int pX, int pY, int pZ, int pXMin, int pYMin, int pZMin, int pXMax, int pYMax, int pZMax) -
getIndex
protected int getIndex(int pX, int pY, int pZ) -
isFull
public boolean isFull(int pX, int pY, int pZ) - 指定者:
isFull
在类中DiscreteVoxelShape
-
fillUpdateBounds
private void fillUpdateBounds(int pX, int pY, int pZ, boolean pUpdate) -
fill
public void fill(int pX, int pY, int pZ) - 指定者:
fill
在类中DiscreteVoxelShape
-
isEmpty
public boolean isEmpty()- 覆盖:
isEmpty
在类中DiscreteVoxelShape
-
firstFull
- 指定者:
firstFull
在类中DiscreteVoxelShape
-
lastFull
- 指定者:
lastFull
在类中DiscreteVoxelShape
-
join
static BitSetDiscreteVoxelShape join(DiscreteVoxelShape pMainShape, DiscreteVoxelShape pSecondaryShape, IndexMerger pMergerX, IndexMerger pMergerY, IndexMerger pMergerZ, BooleanOp pOperator) -
forAllBoxes
protected static void forAllBoxes(DiscreteVoxelShape pShape, DiscreteVoxelShape.IntLineConsumer pConsumer, boolean pCombine) -
isZStripFull
private boolean isZStripFull(int pZMin, int pZMax, int pX, int pY) -
isXZRectangleFull
private boolean isXZRectangleFull(int pXMin, int pXMax, int pZMin, int pZMax, int pY) -
clearZStrip
private void clearZStrip(int pZMin, int pZMax, int pX, int pY)
-