|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.minecraft.src.TexturePackImplementation
public abstract class TexturePackImplementation
| Method Summary | |
|---|---|
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. |
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 |
int |
getTexturePackResolution()
Return the texture pack's resolution (16 by default). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void deleteTexturePack(RenderEngine par1RenderEngine)
deleteTexturePack in interface TexturePackBasepublic void bindThumbnailTexture(RenderEngine par1RenderEngine)
bindThumbnailTexture in interface TexturePackBasepublic InputStream getResourceAsStream(String par1Str)
getResourceAsStream in interface TexturePackBasepublic String getTexturePackID()
getTexturePackID in interface TexturePackBasepublic String getTexturePackFileName()
getTexturePackFileName in interface TexturePackBasepublic String getFirstDescriptionLine()
getFirstDescriptionLine in interface TexturePackBasepublic String getSecondDescriptionLine()
getSecondDescriptionLine in interface TexturePackBasepublic int getTexturePackResolution()
getTexturePackResolution in interface TexturePackBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||