Package net.pl3x.map.core.registry
Class WorldRegistry
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull World
getOrDefault
(@NotNull String id, @NotNull Supplier<@NotNull World> supplier) @Nullable World
unregister
(@NotNull 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<@NotNull World>
-