net.minecraft.world.phys.shapes

public abstract class VoxelShape

fcs
net.minecraft.world.phys.shapes.VoxelShape
net.minecraft.class_265
net.minecraft.util.shape.VoxelShape
net.minecraft.world.phys.shapes.VoxelShape

Field summary

Modifier and TypeField
protected final DiscreteVoxelShape
a
shape
field_1401
voxels
private VoxelShape[]
b
faces
field_19318
shapeCache

Constructor summary

ModifierConstructor
protected (DiscreteVoxelShape voxels)

Method summary

Modifier and TypeMethod
public double
b(jm$a arg0)
min(Direction$Axis arg0)
method_1091(class_2350$class_2351 arg0)
getMin(Direction$Axis axis)
public double
c(jm$a arg0)
max(Direction$Axis arg0)
method_1105(class_2350$class_2351 arg0)
getMax(Direction$Axis axis)
public AABB
a()
bounds()
method_1107()
getBoundingBox()
public VoxelShape
b()
singleEncompassing()
method_52620()
asCuboid()
protected double
a(jm$a arg0, int arg1)
get(Direction$Axis arg0, int arg1)
method_1099(class_2350$class_2351 arg0, int arg1)
getPointPosition(Direction$Axis axis, int index)
public abstract it.unimi.dsi.fastutil.doubles.DoubleList
a(jm$a arg0)
getCoords(Direction$Axis arg0)
method_1109(class_2350$class_2351 arg0)
getPointPositions(Direction$Axis axis)
public boolean
c()
isEmpty()
method_1110()
isEmpty()
public VoxelShape
a(fby arg0)
move(Vec3 arg0)
method_64034(class_243 arg0)
offset(Vec3d vec3d)
public VoxelShape
a(double arg0, double arg1, double arg2)
move(double arg0, double arg1, double arg2)
method_1096(double arg0, double arg1, double arg2)
offset(double x, double y, double z)
public VoxelShape
d()
optimize()
method_1097()
simplify()
public void
a(fcp$a arg0)
forAllEdges(Shapes$DoubleLineConsumer arg0)
method_1104(class_259$class_260 arg0)
forEachEdge(VoxelShapes$BoxConsumer consumer)
public void
b(fcp$a arg0)
forAllBoxes(Shapes$DoubleLineConsumer arg0)
method_1089(class_259$class_260 arg0)
forEachBox(VoxelShapes$BoxConsumer consumer)
public List<AABB>
e()
toAabbs()
method_1090()
getBoundingBoxes()
public double
a(jm$a arg0, double arg1, double arg2)
min(Direction$Axis arg0, double arg1, double arg2)
method_35593(class_2350$class_2351 arg0, double arg1, double arg2)
getStartingCoord(Direction$Axis axis, double from, double to)
public double
b(jm$a arg0, double arg1, double arg2)
max(Direction$Axis arg0, double arg1, double arg2)
method_1102(class_2350$class_2351 arg0, double arg1, double arg2)
getEndingCoord(Direction$Axis axis, double from, double to)
protected int
a(jm$a arg0, double arg1)
findIndex(Direction$Axis arg0, double arg1)
method_1100(class_2350$class_2351 arg0, double arg1)
getCoordIndex(Direction$Axis axis, double coord)
public BlockHitResult
a(fby arg0, fby arg1, jh arg2)
clip(Vec3 arg0, Vec3 arg1, BlockPos arg2)
method_1092(class_243 arg0, class_243 arg1, class_2338 arg2)
raycast(Vec3d start, Vec3d end, BlockPos pos)
public Optional<Vec3>
b(fby arg0)
closestPointTo(Vec3 arg0)
method_33661(class_243 arg0)
getClosestPointTo(Vec3d target)
public VoxelShape
a(jm arg0)
getFaceShape(Direction arg0)
method_20538(class_2350 arg0)
getFace(Direction facing)
private VoxelShape
b(jm arg0)
calculateFace(Direction arg0)
method_1098(class_2350 arg0)
getUncachedFace(Direction facing)
protected boolean
f()
isCubeLike()
method_61897()
isCube()
private boolean
d(jm$a arg0)
isCubeLikeAlong(Direction$Axis arg0)
method_61896(class_2350$class_2351 arg0)
isSquare(Direction$Axis axis)
public double
a(jm$a arg0, fbt arg1, double arg2)
collide(Direction$Axis arg0, AABB arg1, double arg2)
method_1108(class_2350$class_2351 arg0, class_238 arg1, double arg2)
calculateMaxDistance(Direction$Axis axis, Box box, double maxDist)
protected double
a(je arg0, fbt arg1, double arg2)
collideX(AxisCycle arg0, AABB arg1, double arg2)
method_1103(class_2335 arg0, class_238 arg1, double arg2)
calculateMaxDistance(AxisCycleDirection axisCycle, Box box, double maxDist)