code: public static void writeToNBT(NBTTagCompound tag, AxisAlignedBB aabb, String prefix)
  	{
  		if (tag == null || aabb == null)
  			return;
  
  		prefix = prefix == null ? "" : prefix + ".";
  		tag.setDouble(prefix + "minX", aabb.minX);
  		tag.setDouble(prefix + "minY", aabb.minY);
  		tag.setDouble(prefix + "minZ", aabb.minZ);
  		tag.setDouble(prefix + "maxX", aabb.maxX);
  		tag.setDouble(prefix + "maxY", aabb.maxY);
  		tag.setDouble(prefix + "maxZ", aabb.maxZ);
  	}
docs: Writes a {@link AxisAlignedBB} to a {@link NBTTagCompound} with the specified prefix.
  
  @param tag the tag
  @param aabb the aabb
  @param prefix the prefix