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 djl
intermediary net/minecraft/class_263
named net/minecraft/util/shape/SlicedVoxelShape
-
Field Summary
Fields Modifier and Type Field Description private Direction.Axis
axis
private static DoubleList
POINTS
private VoxelShape
shape
Fields 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 VoxelSet
createVoxelSet(VoxelSet voxelSet, Direction.Axis axis, int sliceWidth)
protected DoubleList
getPointPositions(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, offset, raycast, simplify, toString
-
Field Details
-
POINTS
- Mappings:
Namespace Name Mixin selector official d
Ldjl;d:Lit/unimi/dsi/fastutil/doubles/DoubleList;
intermediary field_1395
Lnet/minecraft/class_263;field_1395:Lit/unimi/dsi/fastutil/doubles/DoubleList;
named POINTS
Lnet/minecraft/util/shape/SlicedVoxelShape;POINTS:Lit/unimi/dsi/fastutil/doubles/DoubleList;
-
shape
- Mappings:
Namespace Name Mixin selector official b
Ldjl;b:Ldjn;
intermediary field_1397
Lnet/minecraft/class_263;field_1397:Lnet/minecraft/class_265;
named shape
Lnet/minecraft/util/shape/SlicedVoxelShape;shape:Lnet/minecraft/util/shape/VoxelShape;
-
axis
- Mappings:
Namespace Name Mixin selector official c
Ldjl;c:Lgc$a;
intermediary field_1396
Lnet/minecraft/class_263;field_1396:Lnet/minecraft/class_2350$class_2351;
named axis
Lnet/minecraft/util/shape/SlicedVoxelShape;axis:Lnet/minecraft/util/math/Direction$Axis;
-
-
Constructor Details
-
SlicedVoxelShape
- Mappings:
Namespace Name Mixin selector official <init>
Ldjl;<init>(Ldjn;Lgc$a;I)V
intermediary <init>
Lnet/minecraft/class_263;<init>(Lnet/minecraft/class_265;Lnet/minecraft/class_2350$class_2351;I)V
named <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 a
Ldjl;a(Ldjd;Lgc$a;I)Ldjd;
intermediary method_1088
Lnet/minecraft/class_263;method_1088(Lnet/minecraft/class_251;Lnet/minecraft/class_2350$class_2351;I)Lnet/minecraft/class_251;
named createVoxelSet
Lnet/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:
getPointPositions
in classVoxelShape
- Mappings:
Namespace Name Mixin selector official a
Ldjn;a(Lgc$a;)Lit/unimi/dsi/fastutil/doubles/DoubleList;
intermediary method_1109
Lnet/minecraft/class_265;method_1109(Lnet/minecraft/class_2350$class_2351;)Lit/unimi/dsi/fastutil/doubles/DoubleList;
named getPointPositions
Lnet/minecraft/util/shape/VoxelShape;getPointPositions(Lnet/minecraft/util/math/Direction$Axis;)Lit/unimi/dsi/fastutil/doubles/DoubleList;
-