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