public class FMLFolderResourcePack extends FolderResourcePack implements FMLContainerHolder
Modifier and Type | Field and Description |
---|---|
private ModContainer |
container |
resourcePackFile
Constructor and Description |
---|
FMLFolderResourcePack(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() |
protected boolean |
hasResourceName(java.lang.String p_110593_1_) |
getResourceDomains, validatePath
getInputStream, getPackMetadata, getRelativeName, logNameNotLowercase, resourceExists
private ModContainer container
public FMLFolderResourcePack(ModContainer container)
protected boolean hasResourceName(java.lang.String p_110593_1_)
hasResourceName
in class FolderResourcePack
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 FolderResourcePack
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