public interface IResourceRegistry
Get the instance from OreRegistryApi.registry.
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,IResource> |
getRegisteredResources()
Returns a read-only map containing resource names and their associated
resources.
|
OreRegistryState |
getState()
The current state of the registry process.
|
java.util.Collection<IUnificationHandler> |
getUnificationHandlers(java.lang.String resourceType)
Returns a read-only map containing all
IUnificationHandlers of the resource of this type. |
IResource |
registerResource(java.lang.String resourceType)
Register a type of resource added by your mod.
|
void |
registerUnificationHandler(java.lang.String resourceType,
IUnificationHandler unificationHandler)
Register a
IUnificationHandler. |
IResource registerResource(java.lang.String resourceType)
java.util.Map<java.lang.String,IResource> getRegisteredResources()
void registerUnificationHandler(java.lang.String resourceType,
IUnificationHandler unificationHandler)
IUnificationHandler.java.util.Collection<IUnificationHandler> getUnificationHandlers(java.lang.String resourceType)
IUnificationHandlers of the resource of this type.OreRegistryState getState()