public class TexturePackList extends Object
Constructor and Description |
---|
TexturePackList(File par1File,
Minecraft par2Minecraft) |
Modifier and Type | Method and Description |
---|---|
List |
availableTexturePacks()
Returns a list of the available texture packs.
|
boolean |
func_77300_f() |
boolean |
getAcceptsTextures() |
boolean |
getIsDownloading()
Return true if a texture pack is downloading in the background.
|
ITexturePack |
getSelectedTexturePack() |
void |
onDownloadFinished()
Called from Minecraft.loadWorld() if getIsDownloading() returned true to prepare the downloaded texture for
usage.
|
void |
requestDownloadOfTexture(String par1Str)
filename must end in .zip
|
boolean |
setTexturePack(ITexturePack par1ITexturePack)
Sets the new TexturePack to be used, returning true if it has actually changed, false if nothing changed.
|
void |
updateAvaliableTexturePacks()
check the texture packs the client has installed
|
public boolean setTexturePack(ITexturePack par1ITexturePack)
public void requestDownloadOfTexture(String par1Str)
public boolean getIsDownloading()
public void onDownloadFinished()
public void updateAvaliableTexturePacks()
public List availableTexturePacks()
public ITexturePack getSelectedTexturePack()
public boolean func_77300_f()
public boolean getAcceptsTextures()