net.minecraft.world.phys

public class AABB

fbt
net.minecraft.world.phys.AABB
net.minecraft.class_238
net.minecraft.util.math.Box
net.minecraft.world.phys.AxisAlignedBB

Field summary

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

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)
from(BlockBox mutable)
public static AABB
a(fby arg0)
unitCubeFromLowerCorner(Vec3 arg0)
method_29968(class_243 arg0)
from(Vec3d pos)
public static AABB
a(jh arg0, jh arg1)
encapsulatingFullBlocks(BlockPos arg0, BlockPos arg1)
method_54784(class_2338 arg0, class_2338 arg1)
enclosing(BlockPos pos1, BlockPos pos2)
public AABB
a(double arg0)
setMinX(double arg0)
method_35574(double arg0)
withMinX(double minX)
public AABB
b(double arg0)
setMinY(double arg0)
method_35575(double arg0)
withMinY(double minY)
public AABB
c(double arg0)
setMinZ(double arg0)
method_35576(double arg0)
withMinZ(double minZ)
public AABB
d(double arg0)
setMaxX(double arg0)
method_35577(double arg0)
withMaxX(double maxX)
public AABB
e(double arg0)
setMaxY(double arg0)
method_35578(double arg0)
withMaxY(double maxY)
public AABB
f(double arg0)
setMaxZ(double arg0)
method_35579(double arg0)
withMaxZ(double maxZ)
public double
a(jm$a arg0)
min(Direction$Axis arg0)
method_1001(class_2350$class_2351 arg0)
getMin(Direction$Axis axis)
public double
b(jm$a arg0)
max(Direction$Axis arg0)
method_990(class_2350$class_2351 arg0)
getMax(Direction$Axis axis)
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)
public AABB
b(fby arg0)
expandTowards(Vec3 arg0)
method_18804(class_243 arg0)
stretch(Vec3d scale)
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)
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)
public AABB
g(double arg0)
inflate(double arg0)
method_1014(double arg0)
expand(double value)
public AABB
a(fbt arg0)
intersect(AABB arg0)
method_999(class_238 arg0)
intersection(Box box)
public AABB
b(fbt arg0)
minmax(AABB arg0)
method_991(class_238 arg0)
union(Box box)
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)
public AABB
a(jh arg0)
move(BlockPos arg0)
method_996(class_2338 arg0)
offset(BlockPos blockPos)
public AABB
c(fby arg0)
move(Vec3 arg0)
method_997(class_243 arg0)
offset(Vec3d vec)
public AABB
a(org.joml.Vector3f arg0)
move(org.joml.Vector3f arg0)
method_60314(org.joml.Vector3f arg0)
offset(org.joml.Vector3f offset)
public boolean
c(fbt arg0)
intersects(AABB arg0)
method_994(class_238 arg0)
intersects(Box box)
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)
public boolean
a(fby arg0, fby arg1)
intersects(Vec3 arg0, Vec3 arg1)
method_993(class_243 arg0, class_243 arg1)
intersects(Vec3d pos1, Vec3d pos2)
public boolean
d(fby arg0)
contains(Vec3 arg0)
method_1006(class_243 arg0)
contains(Vec3d pos)
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)
public double
a()
getSize()
method_995()
getAverageSideLength()
public double
b()
getXsize()
method_17939()
getLengthX()
public double
c()
getYsize()
method_17940()
getLengthY()
public double
d()
getZsize()
method_17941()
getLengthZ()
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)
public AABB
h(double arg0)
deflate(double arg0)
method_1011(double arg0)
contract(double value)
public Optional<Vec3>
b(fby arg0, fby arg1)
clip(Vec3 arg0, Vec3 arg1)
method_992(class_243 arg0, class_243 arg1)
raycast(Vec3d from, Vec3d to)
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)
raycast(double minX, double minY, double minZ, double maxX, double maxY, double maxZ, Vec3d from, Vec3d to)
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)
raycast(Iterable<Box> boxes, Vec3d from, Vec3d to, BlockPos pos)
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)
traceCollisionSide(Box box, Vec3d intersectingVector, double[] traceDistanceResult, Direction approachDirection, double deltaX, double deltaY, double deltaZ)
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)
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)
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)
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)
public boolean
a(fby arg0, List<fbt> arg1)
collidedAlongVector(Vec3 arg0, List<AABB> arg1)
method_64032(class_243 arg0, List<class_238> arg1)
collides(Vec3d arg0, List<Box> boundingBoxes)
public double
e(fby arg0)
distanceToSqr(Vec3 arg0)
method_49271(class_243 arg0)
squaredMagnitude(Vec3d pos)
public boolean
e()
hasNaN()
method_1013()
isNaN()
public Vec3
f()
getCenter()
method_1005()
getCenter()
public Vec3
g()
getBottomCenter()
method_64033()
getHorizontalCenter()
public Vec3
h()
getMinPosition()
method_61125()
getMinPos()
public Vec3
i()
getMaxPosition()
method_61126()
getMaxPos()
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)
of(Vec3d center, double dx, double dy, double dz)