net.minecraft.world.phys

public class AABB

dwl
net.minecraft.world.phys.AABB
net.minecraft.class_238
net.minecraft.util.math.Box
net.minecraft.src.C_3040_
net.minecraft.world.phys.AxisAlignedBB

Field summary

Modifier and TypeField
private static final double
g
EPSILON
field_31879
EPSILON
f_165879_
public final double
a
minX
field_1323
minX
f_82288_
public final double
b
minY
field_1322
minY
f_82289_
public final double
c
minZ
field_1321
minZ
f_82290_
public final double
d
maxX
field_1320
maxX
f_82291_
public final double
e
maxY
field_1325
maxY
f_82292_
public final double
f
maxZ
field_1324
maxZ
f_82293_

Constructor summary

ModifierConstructor
public (double x1, double y1, double z1, double x2, double y2, double z2)
public (BlockPos pos)
public (BlockPos pos1, BlockPos pos2)
public (Vec3 pos1, Vec3 pos2)

Method summary

Modifier and TypeMethod
public static AABB
a(dkt arg0)
of(BoundingBox arg0)
method_19316(class_3341 arg0)
from(BlockBox mutable)
m_82321_(C_2478_ p_82322_)
public static AABB
a(dwq arg0)
unitCubeFromLowerCorner(Vec3 arg0)
method_29968(class_243 arg0)
from(Vec3d pos)
m_82333_(C_3046_ p_82334_)
public AABB
a(double arg0)
setMinX(double arg0)
method_35574(double arg0)
withMinX(double minX)
m_165880_(double arg0)
public AABB
b(double arg0)
setMinY(double arg0)
method_35575(double arg0)
withMinY(double minY)
m_165887_(double arg0)
public AABB
c(double arg0)
setMinZ(double arg0)
method_35576(double arg0)
withMinZ(double minZ)
m_165889_(double arg0)
public AABB
d(double arg0)
setMaxX(double arg0)
method_35577(double arg0)
withMaxX(double maxX)
m_165891_(double arg0)
public AABB
e(double arg0)
setMaxY(double arg0)
method_35578(double arg0)
withMaxY(double maxY)
m_165893_(double arg0)
public AABB
f(double arg0)
setMaxZ(double arg0)
method_35579(double arg0)
withMaxZ(double maxZ)
m_165895_(double arg0)
public double
a(gy$a arg0)
min(Direction$Axis arg0)
method_1001(class_2350$class_2351 arg0)
getMin(Direction$Axis axis)
m_82340_(C_4687_$C_4689_ arg0)
public double
b(gy$a arg0)
max(Direction$Axis arg0)
method_990(class_2350$class_2351 arg0)
getMax(Direction$Axis axis)
m_82374_(C_4687_$C_4689_ arg0)
public AABB
a(double arg0, double arg1, double arg2)
contract(double arg0, double arg1, double arg2)
method_1002(double arg0, double arg1, double arg2)
shrink(double x, double y, double z)
m_82310_(double p_82312_, double arg1, double arg2)
public AABB
b(dwq arg0)
expandTowards(Vec3 arg0)
method_18804(class_243 arg0)
stretch(Vec3d scale)
m_82369_(C_3046_ arg0)
public AABB
b(double arg0, double arg1, double arg2)
expandTowards(double arg0, double arg1, double arg2)
method_1012(double arg0, double arg1, double arg2)
stretch(double x, double y, double z)
m_82363_(double p_82365_, double arg1, double arg2)
public AABB
c(double arg0, double arg1, double arg2)
inflate(double arg0, double arg1, double arg2)
method_1009(double arg0, double arg1, double arg2)
expand(double x, double y, double z)
m_82377_(double p_82379_, double arg1, double arg2)
public AABB
g(double arg0)
inflate(double arg0)
method_1014(double arg0)
expand(double value)
m_82400_(double arg0)
public AABB
a(dwl arg0)
intersect(AABB arg0)
method_999(class_238 arg0)
intersection(Box box)
m_82323_(C_3040_ arg0)
public AABB
b(dwl arg0)
minmax(AABB arg0)
method_991(class_238 arg0)
union(Box box)
m_82367_(C_3040_ arg0)
public AABB
d(double arg0, double arg1, double arg2)
move(double arg0, double arg1, double arg2)
method_989(double arg0, double arg1, double arg2)
offset(double x, double y, double z)
m_82386_(double p_82388_, double arg1, double arg2)
public AABB
a(gt arg0)
move(BlockPos arg0)
method_996(class_2338 arg0)
offset(BlockPos blockPos)
m_82338_(C_4675_ arg0)
public AABB
c(dwq arg0)
move(Vec3 arg0)
method_997(class_243 arg0)
offset(Vec3d vec)
m_82383_(C_3046_ arg0)
public boolean
c(dwl arg0)
intersects(AABB arg0)
method_994(class_238 arg0)
intersects(Box box)
m_82381_(C_3040_ arg0)
public boolean
a(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
intersects(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
method_1003(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
intersects(double minX, double minY, double minZ, double maxX, double maxY, double maxZ)
m_82314_(double p_82316_, double p_82318_, double p_82320_, double arg3, double arg4, double arg5)
public boolean
a(dwq arg0, dwq arg1)
intersects(Vec3 arg0, Vec3 arg1)
method_993(class_243 arg0, class_243 arg1)
intersects(Vec3d pos1, Vec3d pos2)
m_82335_(C_3046_ p_82337_, C_3046_ arg1)
public boolean
d(dwq arg0)
contains(Vec3 arg0)
method_1006(class_243 arg0)
contains(Vec3d pos)
m_82390_(C_3046_ arg0)
public boolean
e(double arg0, double arg1, double arg2)
contains(double arg0, double arg1, double arg2)
method_1008(double arg0, double arg1, double arg2)
contains(double x, double y, double z)
m_82393_(double p_82395_, double arg1, double arg2)
public double
a()
getSize()
method_995()
getAverageSideLength()
m_82309_()
public double
b()
getXsize()
method_17939()
getXLength()
m_82362_()
public double
c()
getYsize()
method_17940()
getYLength()
m_82376_()
public double
d()
getZsize()
method_17941()
getZLength()
m_82385_()
public AABB
f(double arg0, double arg1, double arg2)
deflate(double arg0, double arg1, double arg2)
method_35580(double arg0, double arg1, double arg2)
contract(double x, double y, double z)
m_165897_(double p_165899_, double arg1, double arg2)
public AABB
h(double arg0)
deflate(double arg0)
method_1011(double arg0)
contract(double value)
m_82406_(double arg0)
public Optional<Vec3>
b(dwq arg0, dwq arg1)
clip(Vec3 arg0, Vec3 arg1)
method_992(class_243 arg0, class_243 arg1)
raycast(Vec3d min, Vec3d max)
m_82371_(C_3046_ p_82373_, C_3046_ arg1)
public static BlockHitResult
a(Iterable<dwl> arg0, dwq arg1, dwq arg2, gt arg3)
clip(Iterable<AABB> arg0, Vec3 arg1, Vec3 arg2, BlockPos arg3)
method_1010(Iterable<class_238> arg0, class_243 arg1, class_243 arg2, class_2338 arg3)
raycast(Iterable<Box> boxes, Vec3d from, Vec3d to, BlockPos pos)
m_82342_(Iterable<C_3040_> p_82343_, C_3046_ p_82344_, C_3046_ p_82345_, C_4675_ p_82346_)
private static Direction
a(dwl arg0, dwq arg1, double[] arg2, gy arg3, double arg4, double arg5, double arg6)
getDirection(AABB arg0, Vec3 arg1, double[] arg2, Direction arg3, double arg4, double arg5, double arg6)
method_1007(class_238 arg0, class_243 arg1, double[] arg2, class_2350 arg3, double arg4, double arg5, double arg6)
traceCollisionSide(Box box, Vec3d intersectingVector, double[] traceDistanceResult, Direction approachDirection, double deltaX, double deltaY, double deltaZ)
m_82325_(C_3040_ p_82326_, C_3046_ p_82327_, double[] p_82328_, C_4687_ p_82329_, double p_82330_, double p_82332_, double arg6)
private static Direction
a(double[] arg0, gy arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8, double arg9, gy arg10, double arg11, double arg12, double arg13)
clipPoint(double[] arg0, Direction arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8, double arg9, Direction arg10, double arg11, double arg12, double arg13)
method_998(double[] arg0, class_2350 arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8, double arg9, class_2350 arg10, double arg11, double arg12, double arg13)
traceCollisionSide(double[] traceDistanceResult, Direction approachDirection, double deltaX, double deltaY, double deltaZ, double begin, double minX, double maxX, double minZ, double maxZ, Direction resultDirection, double startX, double startY, double startZ)
m_82347_(double[] p_82348_, C_4687_ p_82349_, double p_82350_, double p_82352_, double p_82354_, double p_82356_, double p_82358_, double p_82360_, double arg8, double arg9, C_4687_ arg10, double arg11, double arg12, double arg13)
public boolean
e()
hasNaN()
method_1013()
isValid()
m_82392_()
public Vec3
f()
getCenter()
method_1005()
getCenter()
m_82399_()
public static AABB
a(dwq arg0, double arg1, double arg2, double arg3)
ofSize(Vec3 arg0, double arg1, double arg2, double arg3)
method_30048(class_243 arg0, double arg1, double arg2, double arg3)
of(Vec3d center, double dx, double dy, double dz)
m_165882_(C_3046_ p_165883_, double p_165884_, double p_165886_, double arg3)