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. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <V> RegistryLoader<Object,V>Wraps the surroundingSupplierin aRegistryLoaderwhich does not take in any input value.
-
Field Details
-
NBT
TheRegistryLoaderresponsible for loading NBT.
-
-
Constructor Details
-
RegistryLoaders
public RegistryLoaders()
-
-
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
-