public class DefaultResourcePack extends java.lang.Object implements IResourcePack
Modifier and Type | Field and Description |
---|---|
static java.util.Set |
defaultResourceDomains |
Constructor and Description |
---|
DefaultResourcePack(java.util.Map p_i1046_1_) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
func_152780_c(ResourceLocation p_152780_1_) |
java.io.InputStream |
getInputStream(ResourceLocation p_110590_1_) |
java.awt.image.BufferedImage |
getPackImage() |
IMetadataSection |
getPackMetadata(IMetadataSerializer p_135058_1_,
java.lang.String p_135058_2_) |
java.lang.String |
getPackName() |
java.util.Set |
getResourceDomains() |
boolean |
resourceExists(ResourceLocation p_110589_1_) |
public java.io.InputStream getInputStream(ResourceLocation p_110590_1_) throws java.io.IOException
getInputStream
in interface IResourcePack
java.io.IOException
public java.io.InputStream func_152780_c(ResourceLocation p_152780_1_) throws java.io.IOException
java.io.IOException
public boolean resourceExists(ResourceLocation p_110589_1_)
resourceExists
in interface IResourcePack
public java.util.Set getResourceDomains()
getResourceDomains
in interface IResourcePack
public IMetadataSection getPackMetadata(IMetadataSerializer p_135058_1_, java.lang.String p_135058_2_) throws java.io.IOException
getPackMetadata
in interface IResourcePack
java.io.IOException
public java.awt.image.BufferedImage getPackImage() throws java.io.IOException
getPackImage
in interface IResourcePack
java.io.IOException
public java.lang.String getPackName()
getPackName
in interface IResourcePack