Package net.minecraft.util.shape
Class CroppedVoxelSet
java.lang.Object
net.minecraft.util.shape.VoxelSet
net.minecraft.util.shape.CroppedVoxelSet
public final class CroppedVoxelSet extends VoxelSet
- Mappings:
Namespace Name official disintermediary net/minecraft/class_262named net/minecraft/util/shape/CroppedVoxelSet
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.util.shape.VoxelSet
VoxelSet.PositionBiConsumer, VoxelSet.PositionConsumer -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedCroppedVoxelSet(VoxelSet parent, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax) -
Method Summary
Modifier and Type Method Description booleancontains(int x, int y, int z)intgetMax(Direction.Axis axis)intgetMin(Direction.Axis axis)private intmethod_31944(Direction.Axis axis, int int2)voidset(int x, int y, int z)Methods inherited from class net.minecraft.util.shape.VoxelSet
contains, forEachBox, forEachDirection, forEachEdge, getEndingAxisCoord, getSize, getXSize, getYSize, getZSize, inBoundsAndContains, inBoundsAndContains, isEmpty
-
Field Details
-
parent
- Mappings:
Namespace Name Mixin selector official dLdis;d:Ldij;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 eLdis;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 fLdis;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 gLdis;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 hLdis;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 iLdis;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 jLdis;j:Iintermediary field_1394Lnet/minecraft/class_262;field_1394:Inamed zMaxLnet/minecraft/util/shape/CroppedVoxelSet;zMax:I
-
-
Constructor Details
-
CroppedVoxelSet
protected CroppedVoxelSet(VoxelSet parent, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax)- Mappings:
Namespace Name Mixin selector official <init>Ldis;<init>(Ldij;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
-
-
Method Details
-
contains
public boolean contains(int x, int y, int z) -
set
public void set(int x, int y, int z) -
getMin
- Specified by:
getMinin classVoxelSet- Mappings:
Namespace Name Mixin selector official aLdij;a(Lgc$a;)Iintermediary method_1055Lnet/minecraft/class_251;method_1055(Lnet/minecraft/class_2350$class_2351;)Inamed getMinLnet/minecraft/util/shape/VoxelSet;getMin(Lnet/minecraft/util/math/Direction$Axis;)I
-
getMax
- Specified by:
getMaxin classVoxelSet- Mappings:
Namespace Name Mixin selector official bLdij;b(Lgc$a;)Iintermediary method_1045Lnet/minecraft/class_251;method_1045(Lnet/minecraft/class_2350$class_2351;)Inamed getMaxLnet/minecraft/util/shape/VoxelSet;getMax(Lnet/minecraft/util/math/Direction$Axis;)I
-
method_31944
- Mappings:
Namespace Name Mixin selector official aLdis;a(Lgc$a;I)Iintermediary method_31944Lnet/minecraft/class_262;method_31944(Lnet/minecraft/class_2350$class_2351;I)Inamed method_31944Lnet/minecraft/util/shape/CroppedVoxelSet;method_31944(Lnet/minecraft/util/math/Direction$Axis;I)I
-