Class RegistryLoaders
java.lang.Object
org.geysermc.geyser.registry.loader.RegistryLoaders
Holds common
RegistryLoaders or utility methods surrounding them.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic NbtRegistryLoaderTheRegistryLoaderresponsible for loading NBT. -
Method Summary
Modifier and TypeMethodDescriptionstatic <V> RegistryLoader<Object,V>Wraps the surroundingSupplierin aRegistryLoaderwhich does not take in any input value.static <V> RegistryLoader<Object,V>
-
Field Details
-
NBT
TheRegistryLoaderresponsible for loading NBT.
-
-
Method Details
-
empty
Wraps the surroundingSupplierin aRegistryLoaderwhich does not take in any input value.- Type Parameters:
V- the value- Parameters:
supplier- the supplier- Returns:
- a RegistryLoader wrapping the given Supplier
-
uninitialized
- Type Parameters:
V- the value- Returns:
- a RegistryLoader that is yet to contain a value.
-