net.minecraft.world.phys.shapes

public final class Shapes

cvz
net.minecraft.world.phys.shapes.Shapes
net.minecraft.class_259
net.minecraft.util.shape.VoxelShapes
net.minecraft.util.math.shapes.VoxelShapes
net.minecraft.server.v1_15_R1.VoxelShapes

Field summary

Modifier and TypeField
private static final VoxelShape
b
BLOCK
field_1385
FULL_CUBE
field_197887_b
public static final VoxelShape
a
INFINITY
field_17669
UNBOUNDED
field_216389_a
private static final VoxelShape
c
EMPTY
field_1384
EMPTY
field_197886_a

Method summary

Modifier and TypeMethod
public static VoxelShape
a()
empty()
method_1073()
empty()
func_197880_a()
public static VoxelShape
b()
block()
method_1077()
fullCube()
func_197868_b()
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 xMin, double yMin, double zMin, double xMax, double yMax, double zMax)
func_197873_a(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)
public static VoxelShape
a(cvc arg0)
create(AABB arg0)
method_1078(class_238 arg0)
cuboid(Box box)
func_197881_a(AxisAlignedBB arg0)
private static int
a(double arg0, double arg1)
findBits(double arg0, double arg1)
method_1086(double arg0, double arg1)
findRequiredBitResolution(double min, double max)
func_197885_a(double arg0, 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)
func_197877_a(int arg0, int arg1)
public static VoxelShape
a(cwc arg0, cwc arg1)
or(VoxelShape arg0, VoxelShape arg1)
method_1084(class_265 arg0, class_265 arg1)
union(VoxelShape first, VoxelShape second)
func_197872_a(VoxelShape arg0, VoxelShape arg1)
public static VoxelShape
a(cwc arg0, cwc... arg1)
or(VoxelShape arg0, VoxelShape... arg1)
method_17786(class_265 arg0, class_265... arg1)
union(VoxelShape first, VoxelShape... others)
func_216384_a(VoxelShape arg0, VoxelShape... arg1)
public static VoxelShape
a(cwc arg0, cwc arg1, cvm 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)
func_197878_a(VoxelShape arg0, VoxelShape arg1, IBooleanFunction arg2)
public static VoxelShape
b(cwc arg0, cwc arg1, cvm 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)
func_197882_b(VoxelShape arg0, VoxelShape arg1, IBooleanFunction arg2)
public static boolean
c(cwc arg0, cwc arg1, cvm 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)
func_197879_c(VoxelShape arg0, VoxelShape arg1, IBooleanFunction arg2)
private static boolean
a(cvu arg0, cvu arg1, cvu arg2, cvr arg3, cvr arg4, cvm 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)
func_197874_a(IDoubleListMerger arg0, IDoubleListMerger arg1, IDoubleListMerger arg2, VoxelShapePart arg3, VoxelShapePart arg4, IBooleanFunction arg5)
public static double
a(fp$a arg0, cvc arg1, Stream<cwc> 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)
func_212437_a(Direction$Axis arg0, AxisAlignedBB arg1, Stream<VoxelShape> arg2, double arg3)
public static double
a(fp$a arg0, cvc arg1, bjw arg2, double arg3, cvn arg4, Stream<cwc> 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 arg0, Box box, WorldView world, double initial, EntityContext context, Stream<VoxelShape> shapes)
func_216383_a(Direction$Axis arg0, AxisAlignedBB arg1, IWorldReader arg2, double arg3, ISelectionContext arg4, Stream<VoxelShape> arg5)
private static double
a(cvc arg0, bjw arg1, double arg2, cvn arg3, fi arg4, Stream<cwc> 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, EntityContext context, AxisCycleDirection direction, Stream<VoxelShape> shapes)
func_216386_a(AxisAlignedBB arg0, IWorldReader arg1, double arg2, ISelectionContext arg3, AxisRotation arg4, Stream<VoxelShape> 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)
func_216385_a(double arg0, double arg1, double arg2)
public static VoxelShape
a(cwc arg0, fp arg1)
getFaceShape(VoxelShape arg0, Direction arg1)
method_16344(class_265 arg0, class_2350 arg1)
extrudeFace(VoxelShape shape, Direction direction)
func_216387_a(VoxelShape arg0, Direction arg1)
public static boolean
b(cwc arg0, cwc arg1, fp 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)
func_204642_b(VoxelShape arg0, VoxelShape arg1, Direction arg2)
public static boolean
b(cwc arg0, cwc arg1)
faceShapeOccludes(VoxelShape arg0, VoxelShape arg1)
method_20713(class_265 arg0, class_265 arg1)
unionCoversFullCube(VoxelShape one, VoxelShape two)
func_223416_b(VoxelShape arg0, VoxelShape arg1)
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)
func_199410_a(int arg0, it.unimi.dsi.fastutil.doubles.DoubleList arg1, it.unimi.dsi.fastutil.doubles.DoubleList arg2, boolean arg3, boolean arg4)
public static boolean
a(cwc arg0, cwc arg1, fp 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)
func_197875_a(VoxelShape arg0, VoxelShape arg1, Direction arg2)