public class FMLFileResourcePack extends FileResourcePack implements FMLContainerHolder
ENTRY_NAME_SPLITTER
resourcePackFile
Constructor and Description |
---|
FMLFileResourcePack(ModContainer container) |
Modifier and Type | Method and Description |
---|---|
ModContainer |
getFMLContainer() |
protected java.io.InputStream |
getInputStreamByName(java.lang.String resourceName) |
java.awt.image.BufferedImage |
getPackImage() |
java.lang.String |
getPackName() |
close, finalize, getResourceDomains, hasResourceName
getInputStream, getPackMetadata, getRelativeName, logNameNotLowercase, resourceExists
public FMLFileResourcePack(ModContainer container)
public java.lang.String getPackName()
getPackName
in interface IResourcePack
getPackName
in class AbstractResourcePack
protected java.io.InputStream getInputStreamByName(java.lang.String resourceName) throws java.io.IOException
getInputStreamByName
in class FileResourcePack
java.io.IOException
public java.awt.image.BufferedImage getPackImage() throws java.io.IOException
getPackImage
in interface IResourcePack
getPackImage
in class AbstractResourcePack
java.io.IOException
public ModContainer getFMLContainer()
getFMLContainer
in interface FMLContainerHolder