|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.minecraft.client.texturepacks.TexturePackList
public class TexturePackList
| Constructor Summary | |
|---|---|
TexturePackList(File par1File,
Minecraft par2Minecraft)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TexturePackList(File par1File,
Minecraft par2Minecraft)
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||