Package net.pl3x.map.core.registry
Class WorldRegistry
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOrDefault
(String id, Supplier<World> supplier) @Nullable World
unregister
(String id) Methods inherited from class net.pl3x.map.core.registry.Registry
entrySet, get, getOrDefault, has, iterator, register, register, size, unregister, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
WorldRegistry
public WorldRegistry()
-
-
Method Details
-
getOrDefault
-
unregister
- Overrides:
unregister
in classRegistry<World>
-