类 CroppedVoxelSet
- java.lang.Object
-
- net.minecraft.util.shape.VoxelSet
-
- net.minecraft.util.shape.CroppedVoxelSet
-
public final class CroppedVoxelSet extends VoxelSet
- Mappings:
Namespace Name official dmsintermediary net/minecraft/class_262named net/minecraft/util/shape/CroppedVoxelSet
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.util.shape.VoxelSet
VoxelSet.PositionBiConsumer, VoxelSet.PositionConsumer
-
-
构造器概要
构造器 限定符 构造器 说明 protectedCroppedVoxelSet(VoxelSet parent, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 private intclamp(Direction.Axis axis, int value)booleancontains(int x, int y, int z)intgetMax(Direction.Axis axis)intgetMin(Direction.Axis axis)voidset(int x, int y, int z)-
从类继承的方法 net.minecraft.util.shape.VoxelSet
contains, forEachBox, forEachDirection, forEachEdge, getEndingAxisCoord, getSize, getXSize, getYSize, getZSize, inBoundsAndContains, inBoundsAndContains, isEmpty, method_35592
-
-
-
-
字段详细资料
-
parent
private final VoxelSet parent
- Mappings:
Namespace Name Mixin selector official dLdms;d:Ldmj;intermediary field_1393Lnet/minecraft/class_262;field_1393:Lnet/minecraft/class_251;named parentLnet/minecraft/util/shape/CroppedVoxelSet;parent:Lnet/minecraft/util/shape/VoxelSet;
-
xMin
private final int xMin
- Mappings:
Namespace Name Mixin selector official eLdms;e:Iintermediary field_1392Lnet/minecraft/class_262;field_1392:Inamed xMinLnet/minecraft/util/shape/CroppedVoxelSet;xMin:I
-
yMin
private final int yMin
- Mappings:
Namespace Name Mixin selector official fLdms;f:Iintermediary field_1391Lnet/minecraft/class_262;field_1391:Inamed yMinLnet/minecraft/util/shape/CroppedVoxelSet;yMin:I
-
zMin
private final int zMin
- Mappings:
Namespace Name Mixin selector official gLdms;g:Iintermediary field_1390Lnet/minecraft/class_262;field_1390:Inamed zMinLnet/minecraft/util/shape/CroppedVoxelSet;zMin:I
-
xMax
private final int xMax
- Mappings:
Namespace Name Mixin selector official hLdms;h:Iintermediary field_1389Lnet/minecraft/class_262;field_1389:Inamed xMaxLnet/minecraft/util/shape/CroppedVoxelSet;xMax:I
-
yMax
private final int yMax
- Mappings:
Namespace Name Mixin selector official iLdms;i:Iintermediary field_1388Lnet/minecraft/class_262;field_1388:Inamed yMaxLnet/minecraft/util/shape/CroppedVoxelSet;yMax:I
-
zMax
private final int zMax
- Mappings:
Namespace Name Mixin selector official jLdms;j:Iintermediary field_1394Lnet/minecraft/class_262;field_1394:Inamed zMaxLnet/minecraft/util/shape/CroppedVoxelSet;zMax:I
-
-
构造器详细资料
-
CroppedVoxelSet
protected CroppedVoxelSet(VoxelSet parent, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax)
- Mappings:
Namespace Name Mixin selector official <init>Ldms;<init>(Ldmj;IIIIII)Vintermediary <init>Lnet/minecraft/class_262;<init>(Lnet/minecraft/class_251;IIIIII)Vnamed <init>Lnet/minecraft/util/shape/CroppedVoxelSet;<init>(Lnet/minecraft/util/shape/VoxelSet;IIIIII)V
-
-
方法详细资料
-
contains
public boolean contains(int x, int y, int z)
-
set
public void set(int x, int y, int z)
-
getMin
public int getMin(Direction.Axis axis)
-
getMax
public int getMax(Direction.Axis axis)
-
clamp
private int clamp(Direction.Axis axis, int value)
- Mappings:
Namespace Name Mixin selector official aLdms;a(Lgg$a;I)Iintermediary method_31944Lnet/minecraft/class_262;method_31944(Lnet/minecraft/class_2350$class_2351;I)Inamed clampLnet/minecraft/util/shape/CroppedVoxelSet;clamp(Lnet/minecraft/util/math/Direction$Axis;I)I
-
-