net.minecraft.client.resources

## Class DefaultResourcePack

- java.lang.Object
- - net.minecraft.client.resources.DefaultResourcePack

- All Implemented Interfaces:
    ResourcePack

      public class DefaultResourcePack
      extends Object
      implements ResourcePack

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static Set` | `defaultResourceDomains`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultResourcePack(File par1File)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addResourceFile(String par1Str, File par2File)`
    `InputStream` | `getInputStream(ResourceLocation par1ResourceLocation)`
    `BufferedImage` | `getPackImage()`
    `MetadataSection` | `getPackMetadata(MetadataSerializer par1MetadataSerializer, String par2Str)`
    `String` | `getPackName()`
    `Set` | `getResourceDomains()`
    `void` | `readAssetsDir(File par1File)`
    `boolean` | `resourceExists(ResourceLocation par1ResourceLocation)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### defaultResourceDomains

          public static final Set defaultResourceDomains

  - ### Constructor Detail

    - #### DefaultResourcePack

          public DefaultResourcePack(File par1File)

  - ### Method Detail

    - #### getInputStream

          public InputStream getInputStream(ResourceLocation par1ResourceLocation)
                                     throws IOException

      Specified by:
        `getInputStream` in interface `ResourcePack`
      Throws:
        `IOException`

    - #### addResourceFile

          public void addResourceFile(String par1Str,
                             File par2File)

    - #### resourceExists

          public boolean resourceExists(ResourceLocation par1ResourceLocation)

      Specified by:
        `resourceExists` in interface `ResourcePack`

    - #### getResourceDomains

          public Set getResourceDomains()

      Specified by:
        `getResourceDomains` in interface `ResourcePack`

    - #### readAssetsDir

          public void readAssetsDir(File par1File)

    - #### getPackMetadata

          public MetadataSection getPackMetadata(MetadataSerializer par1MetadataSerializer,
                                        String par2Str)
                                          throws IOException

      Specified by:
        `getPackMetadata` in interface `ResourcePack`
      Throws:
        `IOException`

    - #### getPackImage

          public BufferedImage getPackImage()
                                     throws IOException

      Specified by:
        `getPackImage` in interface `ResourcePack`
      Throws:
        `IOException`

    - #### getPackName

          public String getPackName()

      Specified by:
        `getPackName` in interface `ResourcePack`