public class RegistryLoaders extends Object
RegistryLoaders or utility methods surrounding them.| Modifier and Type | Field and Description |
|---|---|
static NbtRegistryLoader |
NBT
The
RegistryLoader responsible for loading NBT. |
| Constructor and Description |
|---|
RegistryLoaders() |
| Modifier and Type | Method and Description |
|---|---|
static <V> RegistryLoader<Object,V> |
empty(Supplier<V> supplier)
Wraps the surrounding
Supplier in a RegistryLoader which does
not take in any input value. |
public static NbtRegistryLoader NBT
RegistryLoader responsible for loading NBT.public static <V> RegistryLoader<Object,V> empty(Supplier<V> supplier)
Supplier in a RegistryLoader which does
not take in any input value.V - the valuesupplier - the supplierCopyright © 2021 GeyserMC. All rights reserved.