net.minecraft.world.phys.shapes

public abstract class VoxelShape

dpf
net.minecraft.world.phys.shapes.VoxelShape
net.minecraft.class_265
net.minecraft.unmapped.C_zscvhwbd
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
f_uodkcxwt
voxels
f_83211_
private VoxelShape[]
b
faces
field_19318
f_orsrjdpl
shapeCache
f_83212_

Constructor summary

ModifierConstructor
(DiscreteVoxelShape voxels)

Method summary

Modifier and TypeMethod
public double
b(gm$a arg0)
min(Direction$Axis arg0)
method_1091(class_2350$class_2351 arg0)
m_ouqodyrf(C_xpuuihxf$C_rmpfouoz arg0)
getMin(Direction$Axis axis)
m_83288_(C_4687_$C_4689_ arg0)
public double
c(gm$a arg0)
max(Direction$Axis arg0)
method_1105(class_2350$class_2351 arg0)
m_ehbvktjg(C_xpuuihxf$C_rmpfouoz arg0)
getMax(Direction$Axis axis)
m_83297_(C_4687_$C_4689_ arg0)
public AABB
a()
bounds()
method_1107()
m_tsqututw()
getBoundingBox()
m_83215_()
protected double
a(gm$a arg0, int arg1)
get(Direction$Axis arg0, int arg1)
method_1099(class_2350$class_2351 arg0, int arg1)
m_susdfdzk(C_xpuuihxf$C_rmpfouoz 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(gm$a arg0)
getCoords(Direction$Axis arg0)
method_1109(class_2350$class_2351 arg0)
m_mltevqes(C_xpuuihxf$C_rmpfouoz arg0)
getPointPositions(Direction$Axis axis)
m_7700_(C_4687_$C_4689_ arg0)
public boolean
b()
isEmpty()
method_1110()
m_yhtjlmko()
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)
m_nohflcuy(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()
m_zwqljeso()
simplify()
m_83296_()
public void
a(dpc$a arg0)
forAllEdges(Shapes$DoubleLineConsumer arg0)
method_1104(class_259$class_260 arg0)
m_rdejwtso(C_dodusopt$C_spddrqcv arg0)
forEachEdge(VoxelShapes$BoxConsumer consumer)
m_83224_(C_3068_$C_3069_ arg0)
public void
b(dpc$a arg0)
forAllBoxes(Shapes$DoubleLineConsumer arg0)
method_1089(class_259$class_260 arg0)
m_evzrivct(C_dodusopt$C_spddrqcv arg0)
forEachBox(VoxelShapes$BoxConsumer consumer)
m_83286_(C_3068_$C_3069_ arg0)
public List<AABB>
d()
toAabbs()
method_1090()
m_raukulsh()
getBoundingBoxes()
m_83299_()
public double
a(gm$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)
m_rrequnzv(C_xpuuihxf$C_rmpfouoz 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(gm$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)
m_jgnhdfxg(C_xpuuihxf$C_rmpfouoz 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(gm$a arg0, double arg1)
findIndex(Direction$Axis arg0, double arg1)
method_1100(class_2350$class_2351 arg0, double arg1)
m_ubgzgeez(C_xpuuihxf$C_rmpfouoz arg0, double arg1)
getCoordIndex(Direction$Axis axis, double coord)
m_6595_(C_4687_$C_4689_ p_83251_, double arg1)
public BlockHitResult
a(dom arg0, dom arg1, gh arg2)
clip(Vec3 arg0, Vec3 arg1, BlockPos arg2)
method_1092(class_243 arg0, class_243 arg1, class_2338 arg2)
m_ebbqnisg(C_vgpupfxx arg0, C_vgpupfxx arg1, C_hynzadkk 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(dom arg0)
closestPointTo(Vec3 arg0)
method_33661(class_243 arg0)
m_oaxczonc(C_vgpupfxx arg0)
getClosestPointTo(Vec3d target)
m_166067_(C_3046_ arg0)
public VoxelShape
a(gm arg0)
getFaceShape(Direction arg0)
method_20538(class_2350 arg0)
m_fbshlppi(C_xpuuihxf arg0)
getFace(Direction facing)
m_83263_(C_4687_ arg0)
private VoxelShape
b(gm arg0)
calculateFace(Direction arg0)
method_1098(class_2350 arg0)
m_vtrpxkdb(C_xpuuihxf arg0)
getUncachedFace(Direction direction)
m_83294_(C_4687_ arg0)
public double
a(gm$a arg0, doh arg1, double arg2)
collide(Direction$Axis arg0, AABB arg1, double arg2)
method_1108(class_2350$class_2351 arg0, class_238 arg1, double arg2)
m_hkgiczbg(C_xpuuihxf$C_rmpfouoz arg0, C_hbcjzgoe 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(gf arg0, doh arg1, double arg2)
collideX(AxisCycle arg0, AABB arg1, double arg2)
method_1103(class_2335 arg0, class_238 arg1, double arg2)
m_nzndbnrv(C_ryiuicpl arg0, C_hbcjzgoe arg1, double arg2)
calculateMaxDistance(AxisCycleDirection axisCycle, Box box, double maxDist)
m_83245_(C_4670_ p_83247_, C_3040_ p_83248_, double arg2)