Package net.minecraft.util.shape
Class SlicedVoxelShape
java.lang.Object
net.minecraft.util.shape.VoxelShape
net.minecraft.util.shape.SlicedVoxelShape
public class SlicedVoxelShape extends VoxelShape
- Mappings:
Namespace Name official dmpintermediary net/minecraft/class_263named net/minecraft/util/shape/SlicedVoxelShape
-
Field Summary
Fields Modifier and Type Field Description private Direction.Axisaxisprivate static DoubleListPOINTSprivate VoxelShapeshapeFields inherited from class net.minecraft.util.shape.VoxelShape
voxels -
Constructor Summary
Constructors Constructor Description SlicedVoxelShape(VoxelShape shape, Direction.Axis axis, int sliceWidth) -
Method Summary
Modifier and Type Method Description private static VoxelSetcreateVoxelSet(VoxelSet voxelSet, Direction.Axis axis, int sliceWidth)protected DoubleListgetPointPositions(Direction.Axis axis)Methods inherited from class net.minecraft.util.shape.VoxelShape
calculateMaxDistance, calculateMaxDistance, forEachBox, forEachEdge, getBoundingBox, getBoundingBoxes, getCoordIndex, getEndingCoord, getFace, getMax, getMin, getPointPosition, isEmpty, method_33661, method_35593, offset, raycast, simplify, toString
-
Field Details
-
POINTS
- Mappings:
Namespace Name Mixin selector official dLdmp;d:Lit/unimi/dsi/fastutil/doubles/DoubleList;intermediary field_1395Lnet/minecraft/class_263;field_1395:Lit/unimi/dsi/fastutil/doubles/DoubleList;named POINTSLnet/minecraft/util/shape/SlicedVoxelShape;POINTS:Lit/unimi/dsi/fastutil/doubles/DoubleList;
-
shape
- Mappings:
Namespace Name Mixin selector official bLdmp;b:Ldmr;intermediary field_1397Lnet/minecraft/class_263;field_1397:Lnet/minecraft/class_265;named shapeLnet/minecraft/util/shape/SlicedVoxelShape;shape:Lnet/minecraft/util/shape/VoxelShape;
-
axis
- Mappings:
Namespace Name Mixin selector official cLdmp;c:Lgg$a;intermediary field_1396Lnet/minecraft/class_263;field_1396:Lnet/minecraft/class_2350$class_2351;named axisLnet/minecraft/util/shape/SlicedVoxelShape;axis:Lnet/minecraft/util/math/Direction$Axis;
-
-
Constructor Details
-
SlicedVoxelShape
- Mappings:
Namespace Name Mixin selector official <init>Ldmp;<init>(Ldmr;Lgg$a;I)Vintermediary <init>Lnet/minecraft/class_263;<init>(Lnet/minecraft/class_265;Lnet/minecraft/class_2350$class_2351;I)Vnamed <init>Lnet/minecraft/util/shape/SlicedVoxelShape;<init>(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/Direction$Axis;I)V
-
-
Method Details
-
createVoxelSet
- Mappings:
Namespace Name Mixin selector official aLdmp;a(Ldmh;Lgg$a;I)Ldmh;intermediary method_1088Lnet/minecraft/class_263;method_1088(Lnet/minecraft/class_251;Lnet/minecraft/class_2350$class_2351;I)Lnet/minecraft/class_251;named createVoxelSetLnet/minecraft/util/shape/SlicedVoxelShape;createVoxelSet(Lnet/minecraft/util/shape/VoxelSet;Lnet/minecraft/util/math/Direction$Axis;I)Lnet/minecraft/util/shape/VoxelSet;
-
getPointPositions
- Specified by:
getPointPositionsin classVoxelShape- Mappings:
Namespace Name Mixin selector official aLdmr;a(Lgg$a;)Lit/unimi/dsi/fastutil/doubles/DoubleList;intermediary method_1109Lnet/minecraft/class_265;method_1109(Lnet/minecraft/class_2350$class_2351;)Lit/unimi/dsi/fastutil/doubles/DoubleList;named getPointPositionsLnet/minecraft/util/shape/VoxelShape;getPointPositions(Lnet/minecraft/util/math/Direction$Axis;)Lit/unimi/dsi/fastutil/doubles/DoubleList;
-