Class AxisAlignedBB


  • public class AxisAlignedBB
    extends java.lang.Object
    • Field Detail

      • minX

        public double minX
      • minY

        public double minY
      • minZ

        public double minZ
      • maxX

        public double maxX
      • maxY

        public double maxY
      • maxZ

        public double maxZ
    • Method Detail

      • getBoundingBox

        public static AxisAlignedBB getBoundingBox​(double var0,
                                                   double var2,
                                                   double var4,
                                                   double var6,
                                                   double var8,
                                                   double var10)
      • clearBoundingBoxes

        @Client
        public static void clearBoundingBoxes()
      • clearBoundingBoxPool

        public static void clearBoundingBoxPool()
      • getBoundingBoxFromPool

        public static AxisAlignedBB getBoundingBoxFromPool​(double var0,
                                                           double var2,
                                                           double var4,
                                                           double var6,
                                                           double var8,
                                                           double var10)
      • setBounds

        public AxisAlignedBB setBounds​(double var1,
                                       double var3,
                                       double var5,
                                       double var7,
                                       double var9,
                                       double var11)
      • addCoord

        public AxisAlignedBB addCoord​(double var1,
                                      double var3,
                                      double var5)
      • expand

        public AxisAlignedBB expand​(double var1,
                                    double var3,
                                    double var5)
      • getOffsetBoundingBox

        public AxisAlignedBB getOffsetBoundingBox​(double var1,
                                                  double var3,
                                                  double var5)
      • calculateXOffset

        public double calculateXOffset​(AxisAlignedBB var1,
                                       double var2)
      • calculateYOffset

        public double calculateYOffset​(AxisAlignedBB var1,
                                       double var2)
      • calculateZOffset

        public double calculateZOffset​(AxisAlignedBB var1,
                                       double var2)
      • intersectsWith

        public boolean intersectsWith​(AxisAlignedBB var1)
      • offset

        public AxisAlignedBB offset​(double var1,
                                    double var3,
                                    double var5)
      • isVecInside

        public boolean isVecInside​(Vec3D par1Vec3D)
      • getAverageEdgeLength

        @Client
        public @net.minecraft.modding.api.Side.Client double getAverageEdgeLength()
      • contract

        public AxisAlignedBB contract​(double var1,
                                      double var3,
                                      double var5)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object