Class AABBPool

java.lang.Object
net.minecraft.src.AABBPool

public class AABBPool extends Object
  • Constructor Details

    • AABBPool

      public AABBPool(int par1, int par2)
  • Method Details

    • 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()
      Clears the AABBPool
    • getlistAABBsize

      public int getlistAABBsize()
    • getnextPoolIndex

      public int getnextPoolIndex()