net.minecraft.util

## Class AxisAlignedBB

- java.lang.Object
- - net.minecraft.util.AxisAlignedBB

-     public class AxisAlignedBB
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `double` | `maxX`
    `double` | `maxY`
    `double` | `maxZ`
    `double` | `minX`
    `double` | `minY`
    `double` | `minZ`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `AxisAlignedBB(double par1, double par3, double par5, double par7, double par9, double par11)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `AxisAlignedBB` | `addCoord(double par1, double par3, double par5)`
    `MovingObjectPosition` | `calculateIntercept(Vec3 par1Vec3, Vec3 par2Vec3)`
    `double` | `calculateXOffset(AxisAlignedBB par1AxisAlignedBB, double par2)`
    `double` | `calculateYOffset(AxisAlignedBB par1AxisAlignedBB, double par2)`
    `double` | `calculateZOffset(AxisAlignedBB par1AxisAlignedBB, double par2)`
    `AxisAlignedBB` | `contract(double par1, double par3, double par5)`
    `AxisAlignedBB` | `copy()`
    `AxisAlignedBB` | `expand(double par1, double par3, double par5)`
    `AxisAlignedBB` | `func_111270_a(AxisAlignedBB par1AxisAlignedBB)`
    `static AABBPool` | `getAABBPool()` Deprecated.
    `double` | `getAverageEdgeLength()`
    `static AxisAlignedBB` | `getBoundingBox(double par0, double par2, double par4, double par6, double par8, double par10)`
    `AxisAlignedBB` | `getOffsetBoundingBox(double par1, double par3, double par5)`
    `boolean` | `intersectsWith(AxisAlignedBB par1AxisAlignedBB)`
    `boolean` | `isVecInside(Vec3 par1Vec3)`
    `AxisAlignedBB` | `offset(double par1, double par3, double par5)`
    `void` | `setBB(AxisAlignedBB par1AxisAlignedBB)`
    `AxisAlignedBB` | `setBounds(double par1, double par3, double par5, double par7, double par9, double par11)`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 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

  - ### Constructor Detail

    - #### AxisAlignedBB

          protected AxisAlignedBB(double par1,
                       double par3,
                       double par5,
                       double par7,
                       double par9,
                       double par11)

  - ### Method Detail

    - #### getBoundingBox

          public static AxisAlignedBB getBoundingBox(double par0,
                                     double par2,
                                     double par4,
                                     double par6,
                                     double par8,
                                     double par10)

    - #### getAABBPool

          @Deprecated
          public static AABBPool getAABBPool()

      Deprecated.

    - #### setBounds

          public AxisAlignedBB setBounds(double par1,
                                double par3,
                                double par5,
                                double par7,
                                double par9,
                                double par11)

    - #### addCoord

          public AxisAlignedBB addCoord(double par1,
                               double par3,
                               double par5)

    - #### expand

          public AxisAlignedBB expand(double par1,
                             double par3,
                             double par5)

    - #### func_111270_a

          public AxisAlignedBB func_111270_a(AxisAlignedBB par1AxisAlignedBB)

    - #### getOffsetBoundingBox

          public AxisAlignedBB getOffsetBoundingBox(double par1,
                                           double par3,
                                           double par5)

    - #### calculateXOffset

          public double calculateXOffset(AxisAlignedBB par1AxisAlignedBB,
                                double par2)

    - #### calculateYOffset

          public double calculateYOffset(AxisAlignedBB par1AxisAlignedBB,
                                double par2)

    - #### calculateZOffset

          public double calculateZOffset(AxisAlignedBB par1AxisAlignedBB,
                                double par2)

    - #### intersectsWith

          public boolean intersectsWith(AxisAlignedBB par1AxisAlignedBB)

    - #### offset

          public AxisAlignedBB offset(double par1,
                             double par3,
                             double par5)

    - #### isVecInside

          public boolean isVecInside(Vec3 par1Vec3)

    - #### getAverageEdgeLength

          public double getAverageEdgeLength()

    - #### contract

          public AxisAlignedBB contract(double par1,
                               double par3,
                               double par5)

    - #### copy

          public AxisAlignedBB copy()

    - #### calculateIntercept

          public MovingObjectPosition calculateIntercept(Vec3 par1Vec3,
                                                Vec3 par2Vec3)

    - #### setBB

          public void setBB(AxisAlignedBB par1AxisAlignedBB)

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`