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, wait
getResourceDomains
public AbstractResourcePack(File par1File)
public InputStream getInputStream(ResourceLocation par1ResourceLocation) throws IOException
getInputStream
in interface ResourcePack
IOException
public boolean resourceExists(ResourceLocation par1ResourceLocation)
resourceExists
in interface ResourcePack
public MetadataSection getPackMetadata(MetadataSerializer par1MetadataSerializer, String par2Str) throws IOException
getPackMetadata
in interface ResourcePack
IOException
public BufferedImage getPackImage() throws IOException
getPackImage
in interface ResourcePack
IOException
public String getPackName()
getPackName
in interface ResourcePack