public abstract class TexturePackImplementation extends Object implements ITexturePack
| Modifier and Type | Method and Description |
|---|---|
void |
bindThumbnailTexture(RenderEngine par1RenderEngine)
Bind the texture id of the pack's thumbnail image, loading it if necessary.
|
void |
deleteTexturePack(RenderEngine par1RenderEngine)
Delete the OpenGL texture id of the pack's thumbnail image, and close the zip file in case of TexturePackCustom.
|
InputStream |
func_98137_a(String par1Str,
boolean par2) |
boolean |
func_98138_b(String par1Str,
boolean par2) |
abstract boolean |
func_98140_c(String s) |
String |
getFirstDescriptionLine()
Get the first line of the texture pack description (read from the pack.txt file)
|
InputStream |
getResourceAsStream(String par1Str)
Gives a texture resource as InputStream.
|
String |
getSecondDescriptionLine()
Get the second line of the texture pack description (read from the pack.txt file)
|
String |
getTexturePackFileName()
Get the file name of the texture pack, or Default if not from a custom texture pack
|
String |
getTexturePackID()
Get the texture pack ID
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCompatiblepublic InputStream func_98137_a(String par1Str, boolean par2) throws IOException
func_98137_a in interface ITexturePackIOExceptionpublic InputStream getResourceAsStream(String par1Str) throws IOException
getResourceAsStream in interface ITexturePackIOExceptionpublic void deleteTexturePack(RenderEngine par1RenderEngine)
deleteTexturePack in interface ITexturePackpublic void bindThumbnailTexture(RenderEngine par1RenderEngine)
bindThumbnailTexture in interface ITexturePackpublic boolean func_98138_b(String par1Str, boolean par2)
func_98138_b in interface ITexturePackpublic abstract boolean func_98140_c(String s)
public String getTexturePackID()
getTexturePackID in interface ITexturePackpublic String getTexturePackFileName()
getTexturePackFileName in interface ITexturePackpublic String getFirstDescriptionLine()
getFirstDescriptionLine in interface ITexturePackpublic String getSecondDescriptionLine()
getSecondDescriptionLine in interface ITexturePack