public class ModFileResourcePack extends AbstractResourcePack
file| Constructor and Description | 
|---|
| ModFileResourcePack(net.minecraftforge.fml.loading.moddiscovery.ModFile modFile) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| java.util.Collection<ResourceLocation> | getAllResourceLocations(ResourcePackType type,
                       java.lang.String pathIn,
                       int maxDepth,
                       java.util.function.Predicate<java.lang.String> filter) | 
| protected java.io.InputStream | getInputStream(java.lang.String name) | 
| net.minecraftforge.fml.loading.moddiscovery.ModFile | getModFile() | 
| java.lang.String | getName() | 
| java.util.Set<java.lang.String> | getResourceNamespaces(ResourcePackType type) | 
| java.io.InputStream | getResourceStream(ResourcePackType type,
                 ResourceLocation location) | 
| boolean | isHidden() | 
| boolean | resourceExists(ResourcePackType type,
              ResourceLocation location) | 
| protected boolean | resourceExists(java.lang.String name) | 
getMetadata, getRelativeString, getResourceMetadata, getRootResourceStream, onIgnoreNonLowercaseNamespacepublic ModFileResourcePack(net.minecraftforge.fml.loading.moddiscovery.ModFile modFile)
public net.minecraftforge.fml.loading.moddiscovery.ModFile getModFile()
public java.lang.String getName()
getName in interface IResourcePackgetName in class AbstractResourcePackprotected java.io.InputStream getInputStream(java.lang.String name)
                                      throws java.io.IOException
getInputStream in class AbstractResourcePackjava.io.IOExceptionprotected boolean resourceExists(java.lang.String name)
resourceExists in class AbstractResourcePackpublic java.util.Collection<ResourceLocation> getAllResourceLocations(ResourcePackType type, java.lang.String pathIn, int maxDepth, java.util.function.Predicate<java.lang.String> filter)
public java.util.Set<java.lang.String> getResourceNamespaces(ResourcePackType type)
public java.io.InputStream getResourceStream(ResourcePackType type, ResourceLocation location) throws java.io.IOException
getResourceStream in interface IResourcePackgetResourceStream in class AbstractResourcePackjava.io.IOExceptionpublic boolean resourceExists(ResourcePackType type, ResourceLocation location)
resourceExists in interface IResourcePackresourceExists in class AbstractResourcePackpublic void close()
           throws java.io.IOException
java.io.IOExceptionpublic boolean isHidden()