public abstract class AbstractResourcePack extends Object implements ResourcePack
| Constructor and Description |
|---|
AbstractResourcePack(File par1File) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream(ResourceLocation par1ResourceLocation) |
BufferedImage |
getPackImage() |
MetadataSection |
getPackMetadata(MetadataSerializer par1MetadataSerializer,
String par2Str) |
String |
getPackName() |
boolean |
resourceExists(ResourceLocation par1ResourceLocation) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResourceDomainspublic AbstractResourcePack(File par1File)
public InputStream getInputStream(ResourceLocation par1ResourceLocation) throws IOException
getInputStream in interface ResourcePackIOExceptionpublic boolean resourceExists(ResourceLocation par1ResourceLocation)
resourceExists in interface ResourcePackpublic 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