net.minecraft.world.phys.shapes

public abstract class VoxelShape

dxj
net.minecraft.world.phys.shapes.VoxelShape
net.minecraft.class_265
net.minecraft.util.shape.VoxelShape
net.minecraft.src.C_3072_
net.minecraft.world.phys.shapes.VoxelShape

Field summary

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

Constructor summary

ModifierConstructor
(DiscreteVoxelShape voxels)

Method summary

Modifier and TypeMethod
public double
b(gy$a arg0)
min(Direction$Axis arg0)
method_1091(class_2350$class_2351 arg0)
getMin(Direction$Axis axis)
m_83288_(C_4687_$C_4689_ arg0)
public double
c(gy$a arg0)
max(Direction$Axis arg0)
method_1105(class_2350$class_2351 arg0)
getMax(Direction$Axis axis)
m_83297_(C_4687_$C_4689_ arg0)
public AABB
a()
bounds()
method_1107()
getBoundingBox()
m_83215_()
protected double
a(gy$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)
m_83256_(C_4687_$C_4689_ p_83258_, int arg1)
protected abstract it.unimi.dsi.fastutil.doubles.DoubleList
a(gy$a arg0)
getCoords(Direction$Axis arg0)
method_1109(class_2350$class_2351 arg0)
getPointPositions(Direction$Axis axis)
m_7700_(C_4687_$C_4689_ arg0)
public boolean
b()
isEmpty()
method_1110()
isEmpty()
m_83281_()
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)
m_83216_(double p_83218_, double arg1, double arg2)
public VoxelShape
c()
optimize()
method_1097()
simplify()
m_83296_()
public void
a(dxg$a arg0)
forAllEdges(Shapes$DoubleLineConsumer arg0)
method_1104(class_259$class_260 arg0)
forEachEdge(VoxelShapes$BoxConsumer consumer)
m_83224_(C_3068_$C_3069_ arg0)
public void
b(dxg$a arg0)
forAllBoxes(Shapes$DoubleLineConsumer arg0)
method_1089(class_259$class_260 arg0)
forEachBox(VoxelShapes$BoxConsumer consumer)
m_83286_(C_3068_$C_3069_ arg0)
public List<AABB>
d()
toAabbs()
method_1090()
getBoundingBoxes()
m_83299_()
public double
a(gy$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)
m_166078_(C_4687_$C_4689_ p_166080_, double p_166081_, double arg2)
public double
b(gy$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)
m_83290_(C_4687_$C_4689_ p_83292_, double p_83293_, double arg2)
protected int
a(gy$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)
m_6595_(C_4687_$C_4689_ p_83251_, double arg1)
public BlockHitResult
a(dwq arg0, dwq arg1, gt 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)
m_83220_(C_3046_ p_83222_, C_3046_ p_83223_, C_4675_ arg2)
public Optional<Vec3>
a(dwq arg0)
closestPointTo(Vec3 arg0)
method_33661(class_243 arg0)
getClosestPointTo(Vec3d target)
m_166067_(C_3046_ arg0)
public VoxelShape
a(gy arg0)
getFaceShape(Direction arg0)
method_20538(class_2350 arg0)
getFace(Direction facing)
m_83263_(C_4687_ arg0)
private VoxelShape
b(gy arg0)
calculateFace(Direction arg0)
method_1098(class_2350 arg0)
getUncachedFace(Direction direction)
m_83294_(C_4687_ arg0)
public double
a(gy$a arg0, dwl 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)
m_83259_(C_4687_$C_4689_ p_83261_, C_3040_ p_83262_, double arg2)
protected double
a(gr arg0, dwl 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)
m_83245_(C_4670_ p_83247_, C_3040_ p_83248_, double arg2)