net.minecraft.world.phys.shapes

public final class Shapes

edu
net.minecraft.world.phys.shapes.Shapes
net.minecraft.class_259
net.minecraft.util.shape.VoxelShapes
net.minecraft.src.C_3068_
net.minecraft.world.phys.shapes.VoxelShapes

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static VoxelShape
a()
empty()
method_1073()
empty()
m_83040_()
public static VoxelShape
b()
block()
method_1077()
fullCube()
m_83144_()
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)
m_83048_(double p_83049_, double p_83051_, double p_83053_, double arg3, double arg4, double arg5)
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)
m_166049_(double p_166050_, double p_166052_, double p_166054_, double arg3, double arg4, double arg5)
public static VoxelShape
a(ecz arg0)
create(AABB arg0)
method_1078(class_238 arg0)
cuboid(Box box)
m_83064_(C_3040_ p_83065_)
protected static int
a(double arg0, double arg1)
findBits(double arg0, double arg1)
method_1086(double arg0, double arg1)
findRequiredBitResolution(double min, double max)
m_83041_(double p_83042_, double arg1)
protected static long
a(int arg0, int arg1)
lcm(int arg0, int arg1)
method_1079(int arg0, int arg1)
lcm(int a, int b)
m_83055_(int p_83056_, int p_83057_)
public static VoxelShape
a(edx arg0, edx arg1)
or(VoxelShape arg0, VoxelShape arg1)
method_1084(class_265 arg0, class_265 arg1)
union(VoxelShape first, VoxelShape second)
m_83110_(C_3072_ p_83111_, C_3072_ p_83112_)
public static VoxelShape
a(edx arg0, edx... arg1)
or(VoxelShape arg0, VoxelShape... arg1)
method_17786(class_265 arg0, class_265... arg1)
union(VoxelShape first, VoxelShape... others)
m_83124_(C_3072_ p_83125_, C_3072_... p_83126_)
public static VoxelShape
a(edx arg0, edx arg1, edi 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)
m_83113_(C_3072_ p_83114_, C_3072_ p_83115_, C_3050_ p_83116_)
public static VoxelShape
b(edx arg0, edx arg1, edi 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)
m_83148_(C_3072_ p_83149_, C_3072_ p_83150_, C_3050_ p_83151_)
public static boolean
c(edx arg0, edx arg1, edi 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)
m_83157_(C_3072_ p_83158_, C_3072_ p_83159_, C_3050_ p_83160_)
private static boolean
a(edq arg0, edq arg1, edq arg2, edn arg3, edn arg4, edi 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)
m_83103_(C_3061_ p_83104_, C_3061_ p_83105_, C_3061_ p_83106_, C_3055_ p_83107_, C_3055_ p_83108_, C_3050_ p_83109_)
public static double
a(gz$a arg0, ecz arg1, Iterable<edx> 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)
m_193135_(C_4687_$C_4689_ p_193136_, C_3040_ p_193137_, Iterable<C_3072_> p_193138_, double p_193139_)
public static boolean
a(edx arg0, edx arg1, gz 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)
m_83117_(C_3072_ p_83118_, C_3072_ p_83119_, C_4687_ p_83120_)
public static VoxelShape
a(edx arg0, gz arg1)
getFaceShape(VoxelShape arg0, Direction arg1)
method_16344(class_265 arg0, class_2350 arg1)
extrudeFace(VoxelShape shape, Direction direction)
m_83121_(C_3072_ p_83122_, C_4687_ p_83123_)
public static boolean
b(edx arg0, edx arg1, gz 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)
m_83152_(C_3072_ p_83153_, C_3072_ p_83154_, C_4687_ p_83155_)
public static boolean
b(edx arg0, edx arg1)
faceShapeOccludes(VoxelShape arg0, VoxelShape arg1)
method_20713(class_265 arg0, class_265 arg1)
unionCoversFullCube(VoxelShape one, VoxelShape two)
m_83145_(C_3072_ p_83146_, C_3072_ p_83147_)
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)
m_83058_(int p_83059_, it.unimi.dsi.fastutil.doubles.DoubleList p_83060_, it.unimi.dsi.fastutil.doubles.DoubleList p_83061_, boolean p_83062_, boolean p_83063_)