public class FallbackResourceManager extends java.lang.Object implements IResourceManager
Modifier and Type | Field and Description |
---|---|
protected java.util.List<IResourcePack> |
resourcePacks |
Constructor and Description |
---|
FallbackResourceManager(MetadataSerializer frmMetadataSerializerIn) |
Modifier and Type | Method and Description |
---|---|
void |
addResourcePack(IResourcePack resourcePack) |
java.util.List<IResource> |
getAllResources(ResourceLocation location) |
protected java.io.InputStream |
getInputStream(ResourceLocation location,
IResourcePack resourcePack) |
IResource |
getResource(ResourceLocation location) |
java.util.Set<java.lang.String> |
getResourceDomains() |
protected final java.util.List<IResourcePack> resourcePacks
public FallbackResourceManager(MetadataSerializer frmMetadataSerializerIn)
public void addResourcePack(IResourcePack resourcePack)
public java.util.Set<java.lang.String> getResourceDomains()
getResourceDomains
in interface IResourceManager
public IResource getResource(ResourceLocation location) throws java.io.IOException
getResource
in interface IResourceManager
java.io.IOException
protected java.io.InputStream getInputStream(ResourceLocation location, IResourcePack resourcePack) throws java.io.IOException
java.io.IOException
public java.util.List<IResource> getAllResources(ResourceLocation location) throws java.io.IOException
getAllResources
in interface IResourceManager
java.io.IOException