Class NamespacedRegistry<V extends Keyed>
java.lang.Object
com.sk89q.worldedit.registry.Registry<V>
com.sk89q.worldedit.registry.NamespacedRegistry<V>
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionNamespacedRegistry(String name) Deprecated.NamespacedRegistry(String name, boolean checkInitialized) Deprecated.NamespacedRegistry(String name, String defaultNamespace) Deprecated.NamespacedRegistry(String name, String defaultNamespace, boolean checkInitialized) Deprecated.NamespacedRegistry(String name, String id, String defaultNamespace) NamespacedRegistry(String name, String id, String defaultNamespace, boolean checkInitialized) -
Method Summary
Modifier and TypeMethodDescriptiongetByInternalId(int index) Get the default namespace for this registry.Get a set of the namespaces of all registered keys.getSuggestions(String input) intsize()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
NamespacedRegistry
Deprecated. -
NamespacedRegistry
Deprecated. -
NamespacedRegistry
Deprecated. -
NamespacedRegistry
@Deprecated public NamespacedRegistry(String name, String defaultNamespace, boolean checkInitialized) Deprecated. -
NamespacedRegistry
-
NamespacedRegistry
-
-
Method Details
-
get
-
register
-
getByInternalId
-
size
public int size() -
getKnownNamespaces
-
getDefaultNamespace
Get the default namespace for this registry.- Returns:
- the default namespace
-
getSuggestions
-