Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.minecraft.src
Class TexturePackList

    java.lang.Object
      net.minecraft.src.TexturePackList

    public class TexturePackList

extends Object

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.
`TexturePackBase` | `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(TexturePackBase par1TexturePackBase)` 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

### TexturePackList

    public TexturePackList(File par1File,
                           Minecraft par2Minecraft)

Method Detail

### setTexturePack

    public boolean setTexturePack(TexturePackBase par1TexturePackBase)

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

### requestDownloadOfTexture

    public void requestDownloadOfTexture(String par1Str)

  filename must end in .zip

### getIsDownloading

    public boolean getIsDownloading()

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

### onDownloadFinished

    public void onDownloadFinished()

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

### updateAvaliableTexturePacks

    public void updateAvaliableTexturePacks()

  check the texture packs the client has installed

### availableTexturePacks

    public List availableTexturePacks()

  Returns a list of the available texture packs.

### getSelectedTexturePack

    public TexturePackBase getSelectedTexturePack()

### func_77300_f

    public boolean func_77300_f()

### getAcceptsTextures

    public boolean getAcceptsTextures()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD