public class SimpleReloadableResourceManager extends java.lang.Object implements IReloadableResourceManager
Constructor and Description |
---|
SimpleReloadableResourceManager(IMetadataSerializer p_i1299_1_) |
Modifier and Type | Method and Description |
---|---|
java.util.List |
getAllResources(ResourceLocation p_135056_1_) |
IResource |
getResource(ResourceLocation p_110536_1_) |
java.util.Set |
getResourceDomains() |
void |
registerReloadListener(IResourceManagerReloadListener p_110542_1_) |
void |
reloadResourcePack(IResourcePack p_110545_1_) |
void |
reloadResources(java.util.List p_110541_1_) |
public SimpleReloadableResourceManager(IMetadataSerializer p_i1299_1_)
public void reloadResourcePack(IResourcePack p_110545_1_)
public java.util.Set getResourceDomains()
getResourceDomains
in interface IResourceManager
public IResource getResource(ResourceLocation p_110536_1_) throws java.io.IOException
getResource
in interface IResourceManager
java.io.IOException
public java.util.List getAllResources(ResourceLocation p_135056_1_) throws java.io.IOException
getAllResources
in interface IResourceManager
java.io.IOException
public void reloadResources(java.util.List p_110541_1_)
reloadResources
in interface IReloadableResourceManager
public void registerReloadListener(IResourceManagerReloadListener p_110542_1_)
registerReloadListener
in interface IReloadableResourceManager