001    package net.minecraft.src;
002    
003    import cpw.mods.fml.common.Side;
004    import cpw.mods.fml.common.asm.SideOnly;
005    import java.io.InputStream;
006    
007    @SideOnly(Side.CLIENT)
008    public interface ITexturePack
009    {
010        /**
011         * Delete the OpenGL texture id of the pack's thumbnail image, and close the zip file in case of TexturePackCustom.
012         */
013        void deleteTexturePack(RenderEngine var1);
014    
015        /**
016         * Bind the texture id of the pack's thumbnail image, loading it if necessary.
017         */
018        void bindThumbnailTexture(RenderEngine var1);
019    
020        /**
021         * Gives a texture resource as InputStream.
022         */
023        InputStream getResourceAsStream(String var1);
024    
025        /**
026         * Get the texture pack ID
027         */
028        String getTexturePackID();
029    
030        /**
031         * Get the file name of the texture pack, or Default if not from a custom texture pack
032         */
033        String getTexturePackFileName();
034    
035        /**
036         * Get the first line of the texture pack description (read from the pack.txt file)
037         */
038        String getFirstDescriptionLine();
039    
040        /**
041         * Get the second line of the texture pack description (read from the pack.txt file)
042         */
043        String getSecondDescriptionLine();
044    
045        /**
046         * Return the texture pack's resolution (16 by default). Used only by PlayerUsageSnooper. Presumably meant to be
047         * overriden by HD texture mods.
048         */
049        int getTexturePackResolution();
050    }