public interface ITexturePack
Modifier and Type | Method and Description |
---|---|
void |
bindThumbnailTexture(RenderEngine renderengine)
Bind the texture id of the pack's thumbnail image, loading it if necessary.
|
void |
deleteTexturePack(RenderEngine renderengine)
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 s,
boolean flag) |
boolean |
func_98138_b(String s,
boolean flag) |
String |
getFirstDescriptionLine()
Get the first line of the texture pack description (read from the pack.txt file)
|
InputStream |
getResourceAsStream(String s)
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
|
boolean |
isCompatible() |
void deleteTexturePack(RenderEngine renderengine)
void bindThumbnailTexture(RenderEngine renderengine)
InputStream func_98137_a(String s, boolean flag) throws IOException
IOException
InputStream getResourceAsStream(String s) throws IOException
IOException
String getTexturePackID()
String getTexturePackFileName()
String getFirstDescriptionLine()
String getSecondDescriptionLine()
boolean func_98138_b(String s, boolean flag)
boolean isCompatible()