code: public static AxisAlignedBB[] getCollisionBoundingBoxes(World world, MBlockState state, boolean offset)
  	{
  		AxisAlignedBB[] aabbs = new AxisAlignedBB[0];
  		if (world == null || state == null)
  			return aabbs;
  
  		if (state.getBlock() instanceof IBoundingBox)
  			aabbs = ((IBoundingBox) state.getBlock()).getCollisionBoundingBoxes(world, state.getPos(), state.getBlockState());
  		else
  		{
  			AxisAlignedBB aabb = state.getBlockState().getCollisionBoundingBox(world, state.getPos());
  			if (aabb != null)
  				aabbs = new AxisAlignedBB[] { aabb };
  		}
  
  		if (offset)
  			AABBUtils.offset(state.getX(), state.getY(), state.getZ(), aabbs);
  
  		return aabbs;
  	}
docs: Gets the collision {@link AxisAlignedBB} for the {@link MBlockState}.
  
  @param world the world
  @param state the state
  @param offset the offset
  @return the collision bounding boxes