YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.client.texturepacks.TexturePackList Class Reference

Public Member Functions

 TexturePackList (File par1File, Minecraft par2Minecraft)
 
boolean setTexturePack (ITexturePack par1ITexturePack)
 
void requestDownloadOfTexture (String par1Str)
 
boolean getIsDownloading ()
 
void onDownloadFinished ()
 
void updateAvaliableTexturePacks ()
 
List availableTexturePacks ()
 
ITexturePack getSelectedTexturePack ()
 
boolean func_77300_f ()
 
boolean getAcceptsTextures ()
 

Constructor & Destructor Documentation

net.minecraft.client.texturepacks.TexturePackList.TexturePackList ( File  par1File,
Minecraft  par2Minecraft 
)

Member Function Documentation

List net.minecraft.client.texturepacks.TexturePackList.availableTexturePacks ( )

Returns a list of the available texture packs.

boolean net.minecraft.client.texturepacks.TexturePackList.func_77300_f ( )
boolean net.minecraft.client.texturepacks.TexturePackList.getAcceptsTextures ( )
boolean net.minecraft.client.texturepacks.TexturePackList.getIsDownloading ( )

Return true if a texture pack is downloading in the background.

ITexturePack net.minecraft.client.texturepacks.TexturePackList.getSelectedTexturePack ( )
void net.minecraft.client.texturepacks.TexturePackList.onDownloadFinished ( )

Called from Minecraft.loadWorld() if getIsDownloading() returned true to prepare the downloaded texture for usage.

void net.minecraft.client.texturepacks.TexturePackList.requestDownloadOfTexture ( String  par1Str)

filename must end in .zip

boolean net.minecraft.client.texturepacks.TexturePackList.setTexturePack ( ITexturePack  par1ITexturePack)

Sets the new TexturePack to be used, returning true if it has actually changed, false if nothing changed.

void net.minecraft.client.texturepacks.TexturePackList.updateAvaliableTexturePacks ( )

check the texture packs the client has installed


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