net.minecraft.world.phys.shapes

public final class Shapes

fcp
net.minecraft.world.phys.shapes.Shapes
net.minecraft.class_259
net.minecraft.util.shape.VoxelShapes
net.minecraft.world.phys.shapes.VoxelShapes

Field summary

Modifier and TypeField
public static final double
a
EPSILON
field_31880
MIN_SIZE
public static final double
b
BIG_EPSILON
field_31881
field_31881
private static final VoxelShape
d
BLOCK
field_1385
FULL_CUBE
public static final VoxelShape
c
INFINITY
field_17669
UNBOUNDED
private static final VoxelShape
e
EMPTY
field_1384
EMPTY

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static VoxelShape
a()
empty()
method_1073()
empty()
public static VoxelShape
b()
block()
method_1077()
fullCube()
public static VoxelShape
a(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
box(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
method_1081(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
cuboid(double minX, double minY, double minZ, double maxX, double maxY, double maxZ)
public static VoxelShape
b(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
create(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
method_31943(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
cuboidUnchecked(double minX, double minY, double minZ, double maxX, double maxY, double maxZ)
public static VoxelShape
a(fbt arg0)
create(AABB arg0)
method_1078(class_238 arg0)
cuboid(Box box)
protected static int
a(double arg0, double arg1)
findBits(double arg0, double arg1)
method_1086(double arg0, double arg1)
findRequiredBitResolution(double min, double max)
protected static long
a(int arg0, int arg1)
lcm(int arg0, int arg1)
method_1079(int arg0, int arg1)
lcm(int a, int b)
public static VoxelShape
a(fcs arg0, fcs arg1)
or(VoxelShape arg0, VoxelShape arg1)
method_1084(class_265 arg0, class_265 arg1)
union(VoxelShape first, VoxelShape second)
public static VoxelShape
a(fcs arg0, fcs... arg1)
or(VoxelShape arg0, VoxelShape... arg1)
method_17786(class_265 arg0, class_265... arg1)
union(VoxelShape first, VoxelShape... others)
public static VoxelShape
a(fcs arg0, fcs arg1, fcc arg2)
join(VoxelShape arg0, VoxelShape arg1, BooleanOp arg2)
method_1072(class_265 arg0, class_265 arg1, class_247 arg2)
combineAndSimplify(VoxelShape first, VoxelShape second, BooleanBiFunction function)
public static VoxelShape
b(fcs arg0, fcs arg1, fcc arg2)
joinUnoptimized(VoxelShape arg0, VoxelShape arg1, BooleanOp arg2)
method_1082(class_265 arg0, class_265 arg1, class_247 arg2)
combine(VoxelShape one, VoxelShape two, BooleanBiFunction function)
public static boolean
c(fcs arg0, fcs arg1, fcc arg2)
joinIsNotEmpty(VoxelShape arg0, VoxelShape arg1, BooleanOp arg2)
method_1074(class_265 arg0, class_265 arg1, class_247 arg2)
matchesAnywhere(VoxelShape shape1, VoxelShape shape2, BooleanBiFunction predicate)
private static boolean
a(fck arg0, fck arg1, fck arg2, fch arg3, fch arg4, fcc arg5)
joinIsNotEmpty(IndexMerger arg0, IndexMerger arg1, IndexMerger arg2, DiscreteVoxelShape arg3, DiscreteVoxelShape arg4, BooleanOp arg5)
method_1071(class_255 arg0, class_255 arg1, class_255 arg2, class_251 arg3, class_251 arg4, class_247 arg5)
matchesAnywhere(PairList mergedX, PairList mergedY, PairList mergedZ, VoxelSet shape1, VoxelSet shape2, BooleanBiFunction predicate)
public static double
a(jm$a arg0, fbt arg1, Iterable<fcs> arg2, double arg3)
collide(Direction$Axis arg0, AABB arg1, Iterable<VoxelShape> arg2, double arg3)
method_1085(class_2350$class_2351 arg0, class_238 arg1, Iterable<class_265> arg2, double arg3)
calculateMaxOffset(Direction$Axis axis, Box box, Iterable<VoxelShape> shapes, double maxDist)
public static boolean
a(fcs arg0, fcs arg1, jm arg2)
blockOccudes(VoxelShape arg0, VoxelShape arg1, Direction arg2)
method_1083(class_265 arg0, class_265 arg1, class_2350 arg2)
isSideCovered(VoxelShape shape, VoxelShape neighbor, Direction direction)
public static boolean
b(fcs arg0, fcs arg1, jm arg2)
mergedFaceOccludes(VoxelShape arg0, VoxelShape arg1, Direction arg2)
method_1080(class_265 arg0, class_265 arg1, class_2350 arg2)
adjacentSidesCoverSquare(VoxelShape one, VoxelShape two, Direction direction)
public static boolean
b(fcs arg0, fcs arg1)
faceShapeOccludes(VoxelShape arg0, VoxelShape arg1)
method_20713(class_265 arg0, class_265 arg1)
unionCoversFullCube(VoxelShape one, VoxelShape two)
protected static IndexMerger
a(int arg0, it.unimi.dsi.fastutil.doubles.DoubleList arg1, it.unimi.dsi.fastutil.doubles.DoubleList arg2, boolean arg3, boolean arg4)
createIndexMerger(int arg0, it.unimi.dsi.fastutil.doubles.DoubleList arg1, it.unimi.dsi.fastutil.doubles.DoubleList arg2, boolean arg3, boolean arg4)
method_1069(int arg0, it.unimi.dsi.fastutil.doubles.DoubleList arg1, it.unimi.dsi.fastutil.doubles.DoubleList arg2, boolean arg3, boolean arg4)
createListPair(int size, it.unimi.dsi.fastutil.doubles.DoubleList first, it.unimi.dsi.fastutil.doubles.DoubleList second, boolean includeFirst, boolean includeSecond)