Class Registry<V extends Keyed>
java.lang.Object
com.sk89q.worldedit.registry.Registry<V>
- Direct Known Subclasses:
NamespacedRegistry
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Deprecated.UseRegistry(String, String, boolean)instead to provide an IDCreates a new Registry.Creates a new Registry. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
REGISTRY
-
-
Constructor Details
-
Registry
Deprecated.UseRegistry(String, String)instead to provide an IDCreates a new Registry.- Parameters:
name- The name of the registry
-
Registry
Deprecated.UseRegistry(String, String, boolean)instead to provide an IDCreates a new Registry.- Parameters:
name- The name of the registrycheckInitialized- Whether to check if WorldEdit is initialized
-
Registry
-
Registry
-
-
Method Details
-
getName
-
id
-
getMap
-
get
-
register
-
clear
public void clear() -
keySet
-
values
-
iterator
-
Registry(String, String)instead to provide an ID