net.minecraft.util

## Class AABBPool

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

-     public class AABBPool
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AABBPool(int par1, int par2)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `cleanPool()` Marks the pool as "empty", starting over when adding new entries.
    `void` | `clearPool()`
    `AxisAlignedBB` | `getAABB(double par1, double par3, double par5, double par7, double par9, double par11)` Creates a new AABB, or reuses one that's no longer in use.
    `int` | `getlistAABBsize()`
    `int` | `getnextPoolIndex()`

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

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AABBPool

          public AABBPool(int par1,
                  int par2)

  - ### Method Detail

    - #### getAABB

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

      Creates a new AABB, or reuses one that's no longer in use. Parameters: minX, minY, minZ, maxX, maxY, maxZ. AABBs returned from this function should only be used for one frame or tick, as after that they will be reused.

    - #### cleanPool

          public void cleanPool()

      Marks the pool as "empty", starting over when adding new entries. If this is called maxNumCleans times, the list size is reduced

    - #### clearPool

          public void clearPool()

    - #### getlistAABBsize

          public int getlistAABBsize()

    - #### getnextPoolIndex

          public int getnextPoolIndex()