public Cuboid6 getBounds(){
if(boundingBoxes == null) {
boundingBoxes = new Cuboid6[6];
for(int i = 0; i < 6; i++) {
AxisAlignedBB aabb = module.boundingBoxes[i];
boundingBoxes[i] = new Cuboid6(aabb.minX, aabb.minY, aabb.minZ, aabb.maxX, aabb.maxY, aabb.maxZ);
}
}
return boundingBoxes[module.getDirection().ordinal() % 6];
}