net.minecraft.world.phys

public class AABB

fbt
net.minecraft.world.phys.AABB
net.minecraft.class_238
net.minecraft.unmapped.C_hbcjzgoe
net.minecraft.util.math.Box
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
f_cucdtdeo
EPSILON
EPSILON
f_165879_
public final double
a
minX
field_1323
f_fctnermx
minX
minX
f_82288_
public final double
b
minY
field_1322
f_evumypfq
minY
minY
f_82289_
public final double
c
minZ
field_1321
f_mxwrflwm
minZ
minZ
f_82290_
public final double
d
maxX
field_1320
f_iybynzsq
maxX
maxX
f_82291_
public final double
e
maxY
field_1325
f_ruenhmyd
maxY
maxY
f_82292_
public final double
f
maxZ
field_1324
f_qebzdlbe
maxZ
maxZ
f_82293_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static AABB
a(eoc arg0)
of(BoundingBox arg0)
method_19316(class_3341 arg0)
m_hagzytre(C_hmqypqzz arg0)
from(BlockBox mutable)
from(BlockBox mutable)
m_82321_(C_2478_ p_82322_)
public static AABB
a(fby arg0)
unitCubeFromLowerCorner(Vec3 arg0)
method_29968(class_243 arg0)
m_nsxhcdwg(C_vgpupfxx arg0)
from(Vec3d pos)
from(Vec3d pos)
m_82333_(C_3046_ p_82334_)
public static AABB
a(jh arg0, jh arg1)
encapsulatingFullBlocks(BlockPos arg0, BlockPos arg1)
method_54784(class_2338 arg0, class_2338 arg1)
m_gndqsnlz(C_hynzadkk arg0, C_hynzadkk arg1)
enclosing(BlockPos pos1, BlockPos pos2)
enclosing(BlockPos from, BlockPos to)
m_307411_(C_4675_ p_310039_, C_4675_ p_309686_)
public AABB
a(double arg0)
setMinX(double arg0)
method_35574(double arg0)
m_itihbbap(double arg0)
withMinX(double minX)
withMinX(double minX)
m_165880_(double arg0)
public AABB
b(double arg0)
setMinY(double arg0)
method_35575(double arg0)
m_nwfyjcmj(double arg0)
withMinY(double minY)
withMinY(double minY)
m_165887_(double arg0)
public AABB
c(double arg0)
setMinZ(double arg0)
method_35576(double arg0)
m_uegujhig(double arg0)
withMinZ(double minZ)
withMinZ(double minZ)
m_165889_(double arg0)
public AABB
d(double arg0)
setMaxX(double arg0)
method_35577(double arg0)
m_uzekxbgu(double arg0)
withMaxX(double maxX)
withMaxX(double maxX)
m_165891_(double arg0)
public AABB
e(double arg0)
setMaxY(double arg0)
method_35578(double arg0)
m_yyzqthxa(double arg0)
withMaxY(double maxY)
withMaxY(double maxY)
m_165893_(double arg0)
public AABB
f(double arg0)
setMaxZ(double arg0)
method_35579(double arg0)
m_vwkxxtka(double arg0)
withMaxZ(double maxZ)
withMaxZ(double maxZ)
m_165895_(double arg0)
public double
a(jm$a arg0)
min(Direction$Axis arg0)
method_1001(class_2350$class_2351 arg0)
m_rkqksbvs(C_xpuuihxf$C_rmpfouoz arg0)
getMin(Direction$Axis axis)
getMin(Direction$Axis axis)
m_82340_(C_4687_$C_4689_ arg0)
public double
b(jm$a arg0)
max(Direction$Axis arg0)
method_990(class_2350$class_2351 arg0)
m_zmkdorxa(C_xpuuihxf$C_rmpfouoz arg0)
getMax(Direction$Axis axis)
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)
m_jaxcobme(double arg0, double arg1, double arg2)
shrink(double x, double y, double z)
shrink(double x, double y, double z)
m_82310_(double p_82312_, double arg1, double arg2)
public AABB
b(fby arg0)
expandTowards(Vec3 arg0)
method_18804(class_243 arg0)
m_iigjxfsp(C_vgpupfxx arg0)
stretch(Vec3d scale)
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)
m_mhprjdid(double arg0, double arg1, double arg2)
stretch(double x, double y, double z)
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)
m_pzvscshx(double arg0, double arg1, double arg2)
expand(double x, double y, double z)
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)
m_wsmxurzz(double arg0)
expand(double value)
expand(double value)
m_82400_(double arg0)
public AABB
a(fbt arg0)
intersect(AABB arg0)
method_999(class_238 arg0)
m_owcynrzk(C_hbcjzgoe arg0)
intersection(Box box)
intersection(Box box)
m_82323_(C_3040_ arg0)
public AABB
b(fbt arg0)
minmax(AABB arg0)
method_991(class_238 arg0)
m_sknarvql(C_hbcjzgoe arg0)
union(Box box)
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)
m_xejolzay(double arg0, double arg1, double arg2)
offset(double x, double y, double z)
offset(double x, double y, double z)
m_82386_(double p_82388_, double arg1, double arg2)
public AABB
a(jh arg0)
move(BlockPos arg0)
method_996(class_2338 arg0)
m_ihtgrjhm(C_hynzadkk arg0)
offset(BlockPos blockPos)
offset(BlockPos blockPos)
m_82338_(C_4675_ arg0)
public AABB
c(fby arg0)
move(Vec3 arg0)
method_997(class_243 arg0)
m_piuslcxm(C_vgpupfxx arg0)
offset(Vec3d vec)
offset(Vec3d vec)
m_82383_(C_3046_ arg0)
public AABB
a(org.joml.Vector3f arg0)
move(org.joml.Vector3f arg0)
method_60314(org.joml.Vector3f arg0)
m_nxboscxz(org.joml.Vector3f arg0)
offset(org.joml.Vector3f offset)
offset(org.joml.Vector3f vec)
m_339435_(org.joml.Vector3f arg0)
public boolean
c(fbt arg0)
intersects(AABB arg0)
method_994(class_238 arg0)
m_iwqlsdyo(C_hbcjzgoe arg0)
intersects(Box box)
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)
m_vikdnbet(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)
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(fby arg0, fby arg1)
intersects(Vec3 arg0, Vec3 arg1)
method_993(class_243 arg0, class_243 arg1)
m_tpawmwje(C_vgpupfxx arg0, C_vgpupfxx arg1)
intersects(Vec3d pos1, Vec3d pos2)
intersects(Vec3d pos1, Vec3d pos2)
m_82335_(C_3046_ p_82337_, C_3046_ arg1)
public boolean
d(fby arg0)
contains(Vec3 arg0)
method_1006(class_243 arg0)
m_qawrpvjc(C_vgpupfxx arg0)
contains(Vec3d pos)
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)
m_iwszzbul(double arg0, double arg1, double arg2)
contains(double x, double y, double z)
contains(double x, double y, double z)
m_82393_(double p_82395_, double arg1, double arg2)
public double
a()
getSize()
method_995()
m_earezljt()
getAverageSideLength()
getAverageSideLength()
m_82309_()
public double
b()
getXsize()
method_17939()
m_jnmfrlwx()
getLengthX()
getXLength()
m_82362_()
public double
c()
getYsize()
method_17940()
m_rsxzjhuz()
getLengthY()
getYLength()
m_82376_()
public double
d()
getZsize()
method_17941()
m_armyzcig()
getLengthZ()
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)
m_icqbqiis(double arg0, double arg1, double arg2)
contract(double x, double y, double z)
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)
m_hwfgvpmt(double arg0)
contract(double value)
contract(double value)
m_82406_(double arg0)
public Optional<Vec3>
b(fby arg0, fby arg1)
clip(Vec3 arg0, Vec3 arg1)
method_992(class_243 arg0, class_243 arg1)
m_ndhcdxfs(C_vgpupfxx arg0, C_vgpupfxx arg1)
raycast(Vec3d from, Vec3d to)
raycast(Vec3d min, Vec3d max)
m_82371_(C_3046_ p_82373_, C_3046_ arg1)
public static Optional<Vec3>
a(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, fby arg6, fby arg7)
clip(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, Vec3 arg6, Vec3 arg7)
method_61885(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, class_243 arg6, class_243 arg7)
m_uquuyker(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, C_vgpupfxx arg6, C_vgpupfxx arg7)
raycast(double minX, double minY, double minZ, double maxX, double maxY, double maxZ, Vec3d from, Vec3d to)
m_uquuyker(double arg0, double minX, double minZ, double arg3, double maxX, double maxZ, Vec3d arg6, Vec3d arg7)
m_355120_(double p_368264_, double p_366920_, double p_363635_, double p_361125_, double arg4, double arg5, C_3046_ arg6, C_3046_ arg7)
public static BlockHitResult
a(Iterable<fbt> arg0, fby arg1, fby arg2, jh 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)
m_emgqmgbh(Iterable<C_hbcjzgoe> arg0, C_vgpupfxx arg1, C_vgpupfxx arg2, C_hynzadkk arg3)
raycast(Iterable<Box> boxes, Vec3d from, Vec3d to, BlockPos pos)
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(fbt arg0, fby arg1, double[] arg2, jm 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)
m_ttpbzbdo(C_hbcjzgoe arg0, C_vgpupfxx arg1, double[] arg2, C_xpuuihxf arg3, double arg4, double arg5, double arg6)
traceCollisionSide(Box box, Vec3d intersectingVector, double[] traceDistanceResult, Direction approachDirection, double deltaX, double deltaY, double deltaZ)
m_ttpbzbdo(Box arg0, Vec3d arg1, double[] traceDistanceResult, Direction direction, 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, double arg1, double arg2, double arg3, double arg4, double arg5, fby arg6, double[] arg7, jm arg8, double arg9, double arg10, double arg11)
getDirection(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, Vec3 arg6, double[] arg7, Direction arg8, double arg9, double arg10, double arg11)
method_61886(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, class_243 arg6, double[] arg7, class_2350 arg8, double arg9, double arg10, double arg11)
m_wywdjpzc(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, C_vgpupfxx arg6, double[] arg7, C_xpuuihxf arg8, double arg9, double arg10, double arg11)
traceCollisionSide(double minX, double minY, double minZ, double maxX, double maxY, double maxZ, Vec3d intersectingVector, double[] traceDistanceResult, Direction approachDirection, double deltaX, double deltaY, double deltaZ)
m_wywdjpzc(double arg0, double minX, double minZ, double arg3, double maxX, double maxZ, Vec3d arg6, double[] traceDistanceResult, Direction direction, double deltaX, double deltaY, double deltaZ)
m_352150_(double p_364616_, double p_364885_, double p_370222_, double p_362780_, double p_366277_, double p_368538_, C_3046_ arg6, double[] arg7, C_4687_ arg8, double arg9, double arg10, double arg11)
private static Direction
a(double[] arg0, jm arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8, double arg9, jm 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)
m_oatsaswm(double[] arg0, C_xpuuihxf arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8, double arg9, C_xpuuihxf 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)
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
a(fby arg0, List<fbt> arg1)
collidedAlongVector(Vec3 arg0, List<AABB> arg1)
method_64032(class_243 arg0, List<class_238> arg1)
m_qikitayk(C_vgpupfxx arg0, List<C_hbcjzgoe> arg1)
collides(Vec3d arg0, List<Box> boundingBoxes)
m_qikitayk(Vec3d vec, List<Box> arg1)
m_355526_(C_3046_ p_368156_, List<C_3040_> arg1)
public double
e(fby arg0)
distanceToSqr(Vec3 arg0)
method_49271(class_243 arg0)
m_utbwwbwl(C_vgpupfxx arg0)
squaredMagnitude(Vec3d pos)
squaredMagnitude(Vec3d vec)
m_272282_(C_3046_ arg0)
public boolean
e()
hasNaN()
method_1013()
m_prkoqhgl()
isNaN()
isValid()
m_82392_()
public Vec3
f()
getCenter()
method_1005()
m_nwrxvqdn()
getCenter()
getCenter()
m_82399_()
public Vec3
g()
getBottomCenter()
method_64033()
m_zpsbullj()
getHorizontalCenter()
m_339726_()
public Vec3
h()
getMinPosition()
method_61125()
m_cappoqdf()
getMinPos()
m_340437_()
public Vec3
i()
getMaxPosition()
method_61126()
m_hicseajv()
getMaxPos()
m_340300_()
public static AABB
a(fby 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)
m_rptaaemx(C_vgpupfxx arg0, double arg1, double arg2, double arg3)
of(Vec3d center, double dx, double dy, double dz)
of(Vec3d center, double dx, double dy, double dz)
m_165882_(C_3046_ p_165883_, double p_165884_, double p_165886_, double arg3)