类 SubShape
java.lang.Object
net.minecraft.world.phys.shapes.DiscreteVoxelShape
net.minecraft.world.phys.shapes.SubShape
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.phys.shapes.DiscreteVoxelShape
DiscreteVoxelShape.IntFaceConsumer, DiscreteVoxelShape.IntLineConsumer
-
字段概要
字段修饰符和类型字段说明private final int
private final int
private final int
private final DiscreteVoxelShape
private final int
private final int
private final int
从类继承的字段 net.minecraft.world.phys.shapes.DiscreteVoxelShape
xSize, ySize, zSize
-
构造器概要
构造器限定符构造器说明protected
SubShape
(DiscreteVoxelShape pParent, int pStartX, int pStartY, int pStartZ, int pEndX, int pEndY, int pEndZ) -
方法概要
修饰符和类型方法说明private int
clampToShape
(Direction.Axis pAxis, int pValue) void
fill
(int pX, int pY, int pZ) int
firstFull
(Direction.Axis pAxis) boolean
isFull
(int pX, int pY, int pZ) int
lastFull
(Direction.Axis pAxis) 从类继承的方法 net.minecraft.world.phys.shapes.DiscreteVoxelShape
firstFull, forAllBoxes, forAllEdges, forAllFaces, getSize, getXSize, getYSize, getZSize, isEmpty, isFull, isFullWide, isFullWide, lastFull
-
字段详细资料
-
parent
-
startX
private final int startX -
startY
private final int startY -
startZ
private final int startZ -
endX
private final int endX -
endY
private final int endY -
endZ
private final int endZ
-
-
构造器详细资料
-
SubShape
protected SubShape(DiscreteVoxelShape pParent, int pStartX, int pStartY, int pStartZ, int pEndX, int pEndY, int pEndZ)
-
-
方法详细资料
-
isFull
public boolean isFull(int pX, int pY, int pZ) - 指定者:
isFull
在类中DiscreteVoxelShape
-
fill
public void fill(int pX, int pY, int pZ) - 指定者:
fill
在类中DiscreteVoxelShape
-
firstFull
- 指定者:
firstFull
在类中DiscreteVoxelShape
-
lastFull
- 指定者:
lastFull
在类中DiscreteVoxelShape
-
clampToShape
-