Class RegistryLoaders
java.lang.Object
org.geysermc.geyser.registry.loader.RegistryLoaders
Holds common
RegistryLoader
s or utility methods surrounding them.-
Field Summary
Modifier and TypeFieldDescriptionstatic NbtRegistryLoader
TheRegistryLoader
responsible for loading NBT. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <V> RegistryLoader<Object,V>
Wraps the surroundingSupplier
in aRegistryLoader
which does not take in any input value.
-
Field Details
-
NBT
TheRegistryLoader
responsible for loading NBT.
-
-
Constructor Details
-
RegistryLoaders
public RegistryLoaders()
-
-
Method Details
-
empty
Wraps the surroundingSupplier
in aRegistryLoader
which does not take in any input value.- Type Parameters:
V
- the value- Parameters:
supplier
- the supplier- Returns:
- a RegistryLoader wrapping the given Supplier
-