YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.util.AABBPool Class Reference

Public Member Functions

 AABBPool (int par1, int par2)
 
AxisAlignedBB getAABB (double par1, double par3, double par5, double par7, double par9, double par11)
 
void cleanPool ()
 
void clearPool ()
 
int getlistAABBsize ()
 
int getnextPoolIndex ()
 

Constructor & Destructor Documentation

net.minecraft.util.AABBPool.AABBPool ( int  par1,
int  par2 
)

Member Function Documentation

void net.minecraft.util.AABBPool.cleanPool ( )

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

void net.minecraft.util.AABBPool.clearPool ( )

Clears the AABBPool

AxisAlignedBB net.minecraft.util.AABBPool.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.

int net.minecraft.util.AABBPool.getlistAABBsize ( )
int net.minecraft.util.AABBPool.getnextPoolIndex ( )

The documentation for this class was generated from the following file: