public final class VoxelShapes
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
VoxelShapes.LineConsumer |
Constructor and Description |
---|
VoxelShapes() |
Modifier and Type | Method and Description |
---|---|
static VoxelShape |
combine(VoxelShape shape1,
VoxelShape shape2,
IBooleanFunction function) |
static VoxelShape |
combineAndSimplify(VoxelShape shape1,
VoxelShape shape2,
IBooleanFunction function) |
static boolean |
compare(VoxelShape shape1,
VoxelShape shape2,
IBooleanFunction function) |
static VoxelShape |
create(AxisAlignedBB aabb) |
static VoxelShape |
create(double x1,
double y1,
double z1,
double x2,
double y2,
double z2) |
static boolean |
doAdjacentCubeSidesFillSquare(VoxelShape shape,
VoxelShape adjacentShape,
EnumFacing side) |
static VoxelShape |
empty() |
static VoxelShape |
fullCube() |
static double |
func_212437_a(EnumFacing.Axis p_212437_0_,
AxisAlignedBB p_212437_1_,
java.util.stream.Stream<VoxelShape> p_212437_2_,
double p_212437_3_) |
static boolean |
isCubeSideCovered(VoxelShape shape,
VoxelShape adjacentShape,
EnumFacing side) |
protected static long |
lcm(int aa,
int bb) |
protected static net.minecraft.util.math.shapes.IDoubleListMerger |
makeListMerger(int p_199410_0_,
it.unimi.dsi.fastutil.doubles.DoubleList list1,
it.unimi.dsi.fastutil.doubles.DoubleList list2,
boolean p_199410_3_,
boolean p_199410_4_) |
static VoxelShape |
or(VoxelShape shape1,
VoxelShape shape2) |
public static VoxelShape empty()
public static VoxelShape fullCube()
public static VoxelShape create(double x1, double y1, double z1, double x2, double y2, double z2)
public static VoxelShape create(AxisAlignedBB aabb)
protected static long lcm(int aa, int bb)
public static VoxelShape or(VoxelShape shape1, VoxelShape shape2)
public static VoxelShape combineAndSimplify(VoxelShape shape1, VoxelShape shape2, IBooleanFunction function)
public static VoxelShape combine(VoxelShape shape1, VoxelShape shape2, IBooleanFunction function)
public static boolean compare(VoxelShape shape1, VoxelShape shape2, IBooleanFunction function)
public static double func_212437_a(EnumFacing.Axis p_212437_0_, AxisAlignedBB p_212437_1_, java.util.stream.Stream<VoxelShape> p_212437_2_, double p_212437_3_)
public static boolean isCubeSideCovered(VoxelShape shape, VoxelShape adjacentShape, EnumFacing side)
public static boolean doAdjacentCubeSidesFillSquare(VoxelShape shape, VoxelShape adjacentShape, EnumFacing side)
protected static net.minecraft.util.math.shapes.IDoubleListMerger makeListMerger(int p_199410_0_, it.unimi.dsi.fastutil.doubles.DoubleList list1, it.unimi.dsi.fastutil.doubles.DoubleList list2, boolean p_199410_3_, boolean p_199410_4_)