public void onSuccess(File par1File) {
   if (TexturePackList.func_77301_a(this.field_76171_a)) {
     TexturePackList.func_77303_a(
         this.field_76171_a,
         new TexturePackCustom(
             TexturePackList.func_77291_a(this.field_76171_a, par1File), par1File));
     TexturePackList.getMinecraft(this.field_76171_a).func_71395_y();
   }
 }
 public void onSuccess(File par1File) {
   if (TexturePackList.func_77301_a(this.texturePacks)) {
     TexturePackList.setSelectedTexturePack(
         this.texturePacks,
         new TexturePackCustom(
             TexturePackList.generateTexturePackID(this.texturePacks, par1File), par1File));
     TexturePackList.getMinecraft(this.texturePacks).scheduleTexturePackRefresh();
   }
 }
 static String func_77291_a(TexturePackList par0TexturePackList, File par1File) {
   return par0TexturePackList.func_77302_a(par1File);
 }
 static TexturePackBase func_77303_a(
     TexturePackList par0TexturePackList, TexturePackBase par1TexturePackBase) {
   return par0TexturePackList.selectedTexturePack = par1TexturePackBase;
 }
 /**
  * Generate an internal texture pack ID from the file/directory name, last modification time, and
  * file size. Returns null if the file/directory is not a texture pack. (Inner class static
  * accessor method).
  */
 static String generateTexturePackID(TexturePackList par0TexturePackList, File par1File) {
   return par0TexturePackList.generateTexturePackID(par1File);
 }
 /** Set the selectedTexturePack field (Inner class static accessor method). */
 static ITexturePack setSelectedTexturePack(
     TexturePackList par0TexturePackList, ITexturePack par1ITexturePack) {
   return par0TexturePackList.selectedTexturePack = par1ITexturePack;
 }