public class SimpleReloadableResourceManager extends java.lang.Object implements IReloadableResourceManager
Constructor and Description |
---|
SimpleReloadableResourceManager(MetadataSerializer rmMetadataSerializerIn) |
Modifier and Type | Method and Description |
---|---|
java.util.List<IResource> |
getAllResources(ResourceLocation location) |
IResource |
getResource(ResourceLocation location) |
java.util.Set<java.lang.String> |
getResourceDomains() |
void |
registerReloadListener(IResourceManagerReloadListener reloadListener) |
void |
reloadResourcePack(IResourcePack resourcePack) |
void |
reloadResources(java.util.List<IResourcePack> resourcesPacksList) |
public SimpleReloadableResourceManager(MetadataSerializer rmMetadataSerializerIn)
public void reloadResourcePack(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
public java.util.List<IResource> getAllResources(ResourceLocation location) throws java.io.IOException
getAllResources
in interface IResourceManager
java.io.IOException
public void reloadResources(java.util.List<IResourcePack> resourcesPacksList)
reloadResources
in interface IReloadableResourceManager
public void registerReloadListener(IResourceManagerReloadListener reloadListener)
registerReloadListener
in interface IReloadableResourceManager