YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.client.texturepacks.ITexturePack Interface Reference
Inheritance diagram for net.minecraft.client.texturepacks.ITexturePack:
net.minecraft.client.texturepacks.TexturePackImplementation net.minecraft.client.texturepacks.TexturePackCustom net.minecraft.client.texturepacks.TexturePackDefault net.minecraft.client.texturepacks.TexturePackFolder

Public Member Functions

void deleteTexturePack (RenderEngine renderengine)
 
void bindThumbnailTexture (RenderEngine renderengine)
 
InputStream func_98137_a (String s, boolean flag) throws IOException
 
InputStream getResourceAsStream (String s) throws IOException
 
String getTexturePackID ()
 
String getTexturePackFileName ()
 
String getFirstDescriptionLine ()
 
String getSecondDescriptionLine ()
 
boolean func_98138_b (String s, boolean flag)
 
boolean isCompatible ()
 

Member Function Documentation

void net.minecraft.client.texturepacks.ITexturePack.bindThumbnailTexture ( RenderEngine  renderengine)

Bind the texture id of the pack's thumbnail image, loading it if necessary.

Implemented in net.minecraft.client.texturepacks.TexturePackImplementation.

void net.minecraft.client.texturepacks.ITexturePack.deleteTexturePack ( RenderEngine  renderengine)

Delete the OpenGL texture id of the pack's thumbnail image, and close the zip file in case of TexturePackCustom.

Implemented in net.minecraft.client.texturepacks.TexturePackImplementation, and net.minecraft.client.texturepacks.TexturePackCustom.

InputStream net.minecraft.client.texturepacks.ITexturePack.func_98137_a ( String  s,
boolean  flag 
) throws IOException
boolean net.minecraft.client.texturepacks.ITexturePack.func_98138_b ( String  s,
boolean  flag 
)
String net.minecraft.client.texturepacks.ITexturePack.getFirstDescriptionLine ( )

Get the first line of the texture pack description (read from the pack.txt file)

Implemented in net.minecraft.client.texturepacks.TexturePackImplementation.

InputStream net.minecraft.client.texturepacks.ITexturePack.getResourceAsStream ( String  s) throws IOException

Gives a texture resource as InputStream.

Implemented in net.minecraft.client.texturepacks.TexturePackImplementation.

String net.minecraft.client.texturepacks.ITexturePack.getSecondDescriptionLine ( )

Get the second line of the texture pack description (read from the pack.txt file)

Implemented in net.minecraft.client.texturepacks.TexturePackImplementation.

String net.minecraft.client.texturepacks.ITexturePack.getTexturePackFileName ( )

Get the file name of the texture pack, or Default if not from a custom texture pack

Implemented in net.minecraft.client.texturepacks.TexturePackImplementation.

String net.minecraft.client.texturepacks.ITexturePack.getTexturePackID ( )

Get the texture pack ID

Implemented in net.minecraft.client.texturepacks.TexturePackImplementation.


The documentation for this interface was generated from the following file: