Class TexturePackImplementation

java.lang.Object
net.minecraft.src.TexturePackImplementation
Direct Known Subclasses:
TexturePackCustom

@Deprecated public abstract class TexturePackImplementation extends Object
Deprecated.
  • Field Details

    • texturePackFile

      public final File texturePackFile
      Deprecated.
      File object for the texture pack's zip file in TexturePackCustom or the directory in TexturePackFolder.
    • firstDescriptionLine

      protected String firstDescriptionLine
      Deprecated.
      First line of texture pack description (from /pack.txt) displayed in the GUI
    • secondDescriptionLine

      protected String secondDescriptionLine
      Deprecated.
      Second line of texture pack description (from /pack.txt) displayed in the GUI
    • thumbnailImage

      protected BufferedImage thumbnailImage
      Deprecated.
      The texture pack's thumbnail image loaded from the /pack.png file.
  • Constructor Details

    • TexturePackImplementation

      protected TexturePackImplementation(String par1, File par2File, String par3Str, ITexturePack par4ITexturePack)
      Deprecated.
  • Method Details

    • loadDescription

      protected void loadDescription()
      Deprecated.
      Load texture pack description from /pack.txt file in the texture pack
    • func_98137_a

      public InputStream func_98137_a(String par1Str, boolean par2)
      Deprecated.
    • getResourceAsStream

      public InputStream getResourceAsStream(String par1Str)
      Deprecated.
      Gives a texture resource as InputStream.
    • func_98139_b

      protected abstract InputStream func_98139_b(String var1) throws IOException
      Deprecated.
      Throws:
      IOException
    • deleteTexturePack

      public void deleteTexturePack(RenderEngine par1RenderEngine)
      Deprecated.
      Delete the OpenGL texture id of the pack's thumbnail image, and close the zip file in case of TexturePackCustom.
    • bindThumbnailTexture

      public void bindThumbnailTexture(RenderEngine par1RenderEngine)
      Deprecated.
      Bind the texture id of the pack's thumbnail image, loading it if necessary.
    • func_98138_b

      public boolean func_98138_b(String par1Str, boolean par2)
      Deprecated.
    • func_98140_c

      public abstract boolean func_98140_c(String var1)
      Deprecated.
    • getTexturePackID

      public String getTexturePackID()
      Deprecated.
      Get the texture pack ID
    • getTexturePackFileName

      public String getTexturePackFileName()
      Deprecated.
      Get the file name of the texture pack, or Default if not from a custom texture pack
    • getFirstDescriptionLine

      public String getFirstDescriptionLine()
      Deprecated.
      Get the first line of the texture pack description (read from the pack.txt file)
    • getSecondDescriptionLine

      public String getSecondDescriptionLine()
      Deprecated.
      Get the second line of the texture pack description (read from the pack.txt file)