| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,IMetadataSection> |
mapMetadataSections |
private java.io.InputStream |
mcmetaInputStream |
private com.google.gson.JsonObject |
mcmetaJson |
private boolean |
mcmetaJsonChecked |
private java.io.InputStream |
resourceInputStream |
private java.lang.String |
resourcePackName |
private IMetadataSerializer |
srMetadataSerializer |
private ResourceLocation |
srResourceLocation |
| Constructor and Description |
|---|
SimpleResource(java.lang.String resourcePackNameIn,
ResourceLocation srResourceLocationIn,
java.io.InputStream resourceInputStreamIn,
java.io.InputStream mcmetaInputStreamIn,
IMetadataSerializer srMetadataSerializerIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
java.io.InputStream |
getInputStream() |
<T extends IMetadataSection> |
getMetadata(java.lang.String p_110526_1_) |
ResourceLocation |
getResourceLocation() |
java.lang.String |
getResourcePackName() |
int |
hashCode() |
boolean |
hasMetadata() |
private final java.util.Map<java.lang.String,IMetadataSection> mapMetadataSections
private final java.lang.String resourcePackName
private final ResourceLocation srResourceLocation
private final java.io.InputStream resourceInputStream
private final java.io.InputStream mcmetaInputStream
private final IMetadataSerializer srMetadataSerializer
private boolean mcmetaJsonChecked
private com.google.gson.JsonObject mcmetaJson
public SimpleResource(java.lang.String resourcePackNameIn,
ResourceLocation srResourceLocationIn,
java.io.InputStream resourceInputStreamIn,
java.io.InputStream mcmetaInputStreamIn,
IMetadataSerializer srMetadataSerializerIn)
public ResourceLocation getResourceLocation()
getResourceLocation in interface IResourcepublic java.io.InputStream getInputStream()
getInputStream in interface IResourcepublic boolean hasMetadata()
hasMetadata in interface IResourcepublic <T extends IMetadataSection> T getMetadata(java.lang.String p_110526_1_)
getMetadata in interface IResourcepublic java.lang.String getResourcePackName()
getResourcePackName in interface IResourcepublic boolean equals(java.lang.Object p_equals_1_)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object