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

Public Member Functions

InputStream func_98137_a (String par1Str, boolean par2) throws IOException
 
InputStream getResourceAsStream (String par1Str) throws IOException
 
void deleteTexturePack (RenderEngine par1RenderEngine)
 
void bindThumbnailTexture (RenderEngine par1RenderEngine)
 
boolean func_98138_b (String par1Str, boolean par2)
 
abstract boolean func_98140_c (String s)
 
String getTexturePackID ()
 
String getTexturePackFileName ()
 
String getFirstDescriptionLine ()
 
String getSecondDescriptionLine ()
 
- Public Member Functions inherited from net.minecraft.client.texturepacks.ITexturePack
boolean isCompatible ()
 

Protected Member Functions

 TexturePackImplementation (String par1, File par2File, String par3Str, ITexturePack par4ITexturePack)
 
void loadDescription ()
 
abstract InputStream func_98139_b (String s) throws IOException
 

Protected Attributes

final File texturePackFile
 
String firstDescriptionLine
 
String secondDescriptionLine
 
BufferedImage thumbnailImage
 

Constructor & Destructor Documentation

net.minecraft.client.texturepacks.TexturePackImplementation.TexturePackImplementation ( String  par1,
File  par2File,
String  par3Str,
ITexturePack  par4ITexturePack 
)
protected

Member Function Documentation

void net.minecraft.client.texturepacks.TexturePackImplementation.bindThumbnailTexture ( RenderEngine  par1RenderEngine)

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

Implements net.minecraft.client.texturepacks.ITexturePack.

void net.minecraft.client.texturepacks.TexturePackImplementation.deleteTexturePack ( RenderEngine  par1RenderEngine)

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

Implements net.minecraft.client.texturepacks.ITexturePack.

InputStream net.minecraft.client.texturepacks.TexturePackImplementation.func_98137_a ( String  par1Str,
boolean  par2 
) throws IOException
boolean net.minecraft.client.texturepacks.TexturePackImplementation.func_98138_b ( String  par1Str,
boolean  par2 
)
abstract InputStream net.minecraft.client.texturepacks.TexturePackImplementation.func_98139_b ( String  s) throws IOException
protectedpure virtual
abstract boolean net.minecraft.client.texturepacks.TexturePackImplementation.func_98140_c ( String  s)
pure virtual
String net.minecraft.client.texturepacks.TexturePackImplementation.getFirstDescriptionLine ( )

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

Implements net.minecraft.client.texturepacks.ITexturePack.

InputStream net.minecraft.client.texturepacks.TexturePackImplementation.getResourceAsStream ( String  par1Str) throws IOException

Gives a texture resource as InputStream.

Implements net.minecraft.client.texturepacks.ITexturePack.

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

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

Implements net.minecraft.client.texturepacks.ITexturePack.

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

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

Implements net.minecraft.client.texturepacks.ITexturePack.

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

Get the texture pack ID

Implements net.minecraft.client.texturepacks.ITexturePack.

void net.minecraft.client.texturepacks.TexturePackImplementation.loadDescription ( )
protected

Load texture pack description from /pack.txt file in the texture pack

Member Data Documentation

String net.minecraft.client.texturepacks.TexturePackImplementation.firstDescriptionLine
protected

First line of texture pack description (from /pack.txt) displayed in the GUI

String net.minecraft.client.texturepacks.TexturePackImplementation.secondDescriptionLine
protected

Second line of texture pack description (from /pack.txt) displayed in the GUI

final File net.minecraft.client.texturepacks.TexturePackImplementation.texturePackFile
protected

File object for the texture pack's zip file in TexturePackCustom or the directory in TexturePackFolder.

BufferedImage net.minecraft.client.texturepacks.TexturePackImplementation.thumbnailImage
protected

The texture pack's thumbnail image loaded from the /pack.png file.


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