public abstract class VoxelShape
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected VoxelShapePart |
part |
Modifier and Type | Method and Description |
---|---|
protected boolean |
contains(double x,
double y,
double z) |
void |
forEachBox(VoxelShapes.LineConsumer action) |
void |
forEachEdge(VoxelShapes.LineConsumer action) |
double |
func_212430_a(EnumFacing.Axis p_212430_1_,
AxisAlignedBB p_212430_2_,
double p_212430_3_) |
protected double |
func_212431_a(AxisRotation p_212431_1_,
AxisAlignedBB p_212431_2_,
double p_212431_3_) |
RayTraceResult |
func_212433_a(Vec3d p_212433_1_,
Vec3d p_212433_2_,
BlockPos p_212433_3_) |
VoxelShape |
func_212434_a(EnumFacing p_212434_1_) |
AxisAlignedBB |
getBoundingBox() |
protected int |
getClosestIndex(EnumFacing.Axis axis,
double position) |
double |
getEnd(EnumFacing.Axis axis) |
double |
getStart(EnumFacing.Axis axis) |
protected abstract it.unimi.dsi.fastutil.doubles.DoubleList |
getValues(EnumFacing.Axis axis) |
protected double |
getValueUnchecked(EnumFacing.Axis axis,
int index) |
boolean |
isEmpty() |
double |
max(EnumFacing.Axis p_197760_1_,
double p_197760_2_,
double p_197760_4_) |
double |
min(EnumFacing.Axis axis,
double p_197764_2_,
double p_197764_4_) |
VoxelShape |
simplify() |
java.util.List<AxisAlignedBB> |
toBoundingBoxList() |
java.lang.String |
toString() |
VoxelShape |
withOffset(double xOffset,
double yOffset,
double zOffset) |
protected final VoxelShapePart part
public double getStart(EnumFacing.Axis axis)
public double getEnd(EnumFacing.Axis axis)
public AxisAlignedBB getBoundingBox()
protected double getValueUnchecked(EnumFacing.Axis axis, int index)
protected abstract it.unimi.dsi.fastutil.doubles.DoubleList getValues(EnumFacing.Axis axis)
public boolean isEmpty()
public VoxelShape withOffset(double xOffset, double yOffset, double zOffset)
public VoxelShape simplify()
public void forEachEdge(VoxelShapes.LineConsumer action)
public void forEachBox(VoxelShapes.LineConsumer action)
public java.util.List<AxisAlignedBB> toBoundingBoxList()
public double min(EnumFacing.Axis axis, double p_197764_2_, double p_197764_4_)
public double max(EnumFacing.Axis p_197760_1_, double p_197760_2_, double p_197760_4_)
protected int getClosestIndex(EnumFacing.Axis axis, double position)
protected boolean contains(double x, double y, double z)
@Nullable public RayTraceResult func_212433_a(Vec3d p_212433_1_, Vec3d p_212433_2_, BlockPos p_212433_3_)
public VoxelShape func_212434_a(EnumFacing p_212434_1_)
public double func_212430_a(EnumFacing.Axis p_212430_1_, AxisAlignedBB p_212430_2_, double p_212430_3_)
protected double func_212431_a(AxisRotation p_212431_1_, AxisAlignedBB p_212431_2_, double p_212431_3_)
public java.lang.String toString()
toString
in class java.lang.Object