public class DefaultResourcePack extends Object implements ResourcePack
| Modifier and Type | Field and Description |
|---|---|
static Set |
defaultResourceDomains |
| Constructor and Description |
|---|
DefaultResourcePack(File par1File) |
| 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) |
public static final Set defaultResourceDomains
public DefaultResourcePack(File par1File)
public InputStream getInputStream(ResourceLocation par1ResourceLocation) throws IOException
getInputStream in interface ResourcePackIOExceptionpublic boolean resourceExists(ResourceLocation par1ResourceLocation)
resourceExists in interface ResourcePackpublic Set getResourceDomains()
getResourceDomains in interface ResourcePackpublic void readAssetsDir(File par1File)
public MetadataSection getPackMetadata(MetadataSerializer par1MetadataSerializer, String par2Str) throws IOException
getPackMetadata in interface ResourcePackIOExceptionpublic BufferedImage getPackImage() throws IOException
getPackImage in interface ResourcePackIOExceptionpublic String getPackName()
getPackName in interface ResourcePack