Package net.minecraft.util.math.shapes
Class SplitVoxelShape
- java.lang.Object
-
- net.minecraft.util.math.shapes.VoxelShape
-
- net.minecraft.util.math.shapes.SplitVoxelShape
-
public class SplitVoxelShape extends VoxelShape
-
-
Field Summary
Fields Modifier and Type Field Description private Direction.Axis
axis
private VoxelShape
delegate
private static it.unimi.dsi.fastutil.doubles.DoubleList
SLICE_COORDS
-
Fields inherited from class net.minecraft.util.math.shapes.VoxelShape
shape
-
-
Constructor Summary
Constructors Constructor Description SplitVoxelShape(VoxelShape p_i47682_1_, Direction.Axis p_i47682_2_, int p_i47682_3_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected it.unimi.dsi.fastutil.doubles.DoubleList
getCoords(Direction.Axis p_197757_1_)
private static VoxelShapePart
makeSlice(VoxelShapePart p_197775_0_, Direction.Axis p_197775_1_, int p_197775_2_)
-
Methods inherited from class net.minecraft.util.math.shapes.VoxelShape
bounds, clip, collide, collideX, findIndex, forAllBoxes, forAllEdges, get, getFaceShape, isEmpty, isFullWide, max, max, min, move, optimize, toAabbs, toString
-
-
-
-
Field Detail
-
delegate
private final VoxelShape delegate
-
axis
private final Direction.Axis axis
-
SLICE_COORDS
private static final it.unimi.dsi.fastutil.doubles.DoubleList SLICE_COORDS
-
-
Constructor Detail
-
SplitVoxelShape
public SplitVoxelShape(VoxelShape p_i47682_1_, Direction.Axis p_i47682_2_, int p_i47682_3_)
-
-
Method Detail
-
makeSlice
private static VoxelShapePart makeSlice(VoxelShapePart p_197775_0_, Direction.Axis p_197775_1_, int p_197775_2_)
-
getCoords
protected it.unimi.dsi.fastutil.doubles.DoubleList getCoords(Direction.Axis p_197757_1_)
- Specified by:
getCoords
in classVoxelShape
-
-