net.minecraft.world.phys.shapes

public final class Shapes

dnq
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
field_31880
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)
create(double arg0, double arg1, double arg2, 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(dmv 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(dnt arg0, dnt 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(dnt arg0, dnt... 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(dnt arg0, dnt arg1, dne 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(dnt arg0, dnt arg1, dne 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(dnt arg0, dnt arg1, dne 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(dnm arg0, dnm arg1, dnm arg2, dnj arg3, dnj arg4, dne 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(gl$a arg0, dmv arg1, Stream<dnt> arg2, double arg3)
collide(Direction$Axis arg0, AABB arg1, Stream<VoxelShape> arg2, double arg3)
method_1085(class_2350$class_2351 arg0, class_238 arg1, Stream<class_265> arg2, double arg3)
calculateMaxOffset(Direction$Axis axis, Box box, Stream<VoxelShape> shapes, double maxDist)
m_83134_(C_4687_$C_4689_ p_83135_, C_3040_ p_83136_, Stream<C_3072_> p_83137_, double p_83138_)
public static double
a(gl$a arg0, dmv arg1, bwt arg2, double arg3, dnf arg4, Stream<dnt> arg5)
collide(Direction$Axis arg0, AABB arg1, LevelReader arg2, double arg3, CollisionContext arg4, Stream<VoxelShape> arg5)
method_17945(class_2350$class_2351 arg0, class_238 arg1, class_4538 arg2, double arg3, class_3726 arg4, Stream<class_265> arg5)
calculatePushVelocity(Direction$Axis axis, Box box, WorldView world, double initial, ShapeContext context, Stream<VoxelShape> shapes)
m_83127_(C_4687_$C_4689_ p_83128_, C_3040_ p_83129_, C_1599_ p_83130_, double p_83131_, C_3051_ p_83133_, Stream<C_3072_> arg5)
private static double
a(dmv arg0, bwt arg1, double arg2, dnf arg3, ge arg4, Stream<dnt> arg5)
collide(AABB arg0, LevelReader arg1, double arg2, CollisionContext arg3, AxisCycle arg4, Stream<VoxelShape> arg5)
method_17944(class_238 arg0, class_4538 arg1, double arg2, class_3726 arg3, class_2335 arg4, Stream<class_265> arg5)
calculatePushVelocity(Box box, WorldView world, double initial, ShapeContext context, AxisCycleDirection direction, Stream<VoxelShape> shapes)
m_83066_(C_3040_ p_83067_, C_1599_ p_83068_, double p_83069_, C_3051_ p_83071_, C_4670_ p_83072_, Stream<C_3072_> arg5)
private static int
a(double arg0, double arg1, double arg2)
lastC(double arg0, double arg1, double arg2)
method_17943(double arg0, double arg1, double arg2)
clamp(double value, double min, double max)
m_83044_(double p_83045_, double p_83047_, double arg2)
public static boolean
a(dnt arg0, dnt arg1, gl 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(dnt arg0, gl 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(dnt arg0, dnt arg1, gl 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(dnt arg0, dnt 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_)