Interface SchematicRegistry
- All Superinterfaces:
Registry<Nameable,
SchematicCache>
A registry to register, manage and retrieve a
SchematicCache
.-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the total amount of registered directoriesdefault SchematicCache
Deprecated, for removal: This API element is subject to removal in a future version.void
reload()
Reloads all registered caches.int
Returns the total amount of registered schematicsMethods inherited from interface de.eldoria.schematicbrush.registry.Registry
get, isRegistered, register, registry, unregister
-
Method Details
-
getCache
Deprecated, for removal: This API element is subject to removal in a future version.Replaced byRegistry.get(Nameable)
Get the cache associated with this name- Parameters:
key
- name- Returns:
- cache
- Throws:
IllegalArgumentException
- if no entry is registered with this key.
-
reload
void reload()Reloads all registered caches. -
schematicCount
int schematicCount()Returns the total amount of registered schematics- Returns:
- schematic count.
-
directoryCount
int directoryCount()Returns the total amount of registered directories- Returns:
- directory count
-
Registry.get(Nameable)