net.minecraft.client.resources

## Class SimpleResource

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

- All Implemented Interfaces:
    Resource

      public class SimpleResource
      extends Object
      implements Resource

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SimpleResource(ResourceLocation par1ResourceLocation, InputStream par2InputStream, InputStream par3InputStream, MetadataSerializer par4MetadataSerializer)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object par1Obj)`
    `InputStream` | `getInputStream()`
    `MetadataSection` | `getMetadata(String par1Str)`
    `int` | `hashCode()`
    `boolean` | `hasMetadata()`

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

      `getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SimpleResource

          public SimpleResource(ResourceLocation par1ResourceLocation,
                        InputStream par2InputStream,
                        InputStream par3InputStream,
                        MetadataSerializer par4MetadataSerializer)

  - ### Method Detail

    - #### getInputStream

          public InputStream getInputStream()

      Specified by:
        `getInputStream` in interface `Resource`

    - #### hasMetadata

          public boolean hasMetadata()

      Specified by:
        `hasMetadata` in interface `Resource`

    - #### getMetadata

          public MetadataSection getMetadata(String par1Str)

      Specified by:
        `getMetadata` in interface `Resource`

    - #### equals

          public boolean equals(Object par1Obj)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`