public static Texture getTextureFromUrl(String url) {
   Texture tex = getTextureFromUrl(null, url);
   if (tex == null) {
     CustomTextureManager.downloadTexture(url, true);
     tex =
         CustomTextureManager.getTextureFromPath(
             FileUtil.getAssetsDir().getPath() + "/block/spout.png");
   }
   return tex;
 }