Uses of Interface
org.geysermc.geyser.registry.loader.RegistryLoader
-
Uses of RegistryLoader in org.geysermc.geyser.registry
Modifier and TypeMethodDescriptionstatic <I, M> ArrayRegistry<M>
ArrayRegistry.create(I input, RegistryLoader<I,M[]> registryLoader)
Creates a new array registry with the givenRegistryLoader
and input.static <I, M> ArrayRegistry<M>
ArrayRegistry.create(RegistryLoader<I,M[]> registryLoader)
Creates a new array registry with the givenRegistryLoader
.static <I, K, V, M extends Map<K, V>>
MappedRegistry<K,V,M>MappedRegistry.create(I input, RegistryLoader<I,M> registryLoader)
Creates a new mapped registry with the givenRegistryLoader
and input.static <I, K, V, M extends Map<K, V>>
MappedRegistry<K,V,M>MappedRegistry.create(RegistryLoader<I,M> registryLoader)
Creates a new mapped registry with the givenRegistryLoader
.static <I, K, V> SimpleMappedRegistry<K,V>
SimpleMappedRegistry.create(I input, RegistryLoader<I,Map<K,V>> registryLoader)
Creates a new mapped registry with the givenRegistryLoader
and input.static <I, K, V> SimpleMappedRegistry<K,V>
SimpleMappedRegistry.create(RegistryLoader<I,Map<K,V>> registryLoader)
Creates a new mapped registry with the givenRegistryLoader
.static <I, M> SimpleRegistry<M>
SimpleRegistry.create(I input, RegistryLoader<I,M> registryLoader)
Creates a new registry with the givenRegistryLoader
and input.static <I, M> SimpleRegistry<M>
SimpleRegistry.create(RegistryLoader<I,M> registryLoader)
Creates a new registry with the givenRegistryLoader
.static <I, V> VersionedRegistry<V>
VersionedRegistry.create(I input, RegistryLoader<I,it.unimi.dsi.fastutil.ints.Int2ObjectMap<V>> registryLoader)
Creates a new versioned registry with the givenRegistryLoader
and input.static <I, V> VersionedRegistry<V>
VersionedRegistry.create(RegistryLoader<I,it.unimi.dsi.fastutil.ints.Int2ObjectMap<V>> registryLoader)
Creates a new versioned registry with the givenRegistryLoader
.Modifier and TypeMethodDescriptionstatic <I, M> ArrayRegistry<M>
ArrayRegistry.create(I input, Supplier<RegistryLoader<I,M[]>> registryLoader)
Creates a new array registry with the givenRegistryLoader
supplier and input.static <I, M> ArrayRegistry<M>
ArrayRegistry.create(Supplier<RegistryLoader<I,M[]>> registryLoader)
Creates a new array registry with the givenRegistryLoader
supplier.static <I, K, V, M extends Map<K, V>>
MappedRegistry<K,V,M>MappedRegistry.create(I input, Supplier<RegistryLoader<I,M>> registryLoader)
Creates a new mapped registry with the givenRegistryLoader
and input.static <I, K, V, M extends Map<K, V>>
MappedRegistry<K,V,M>MappedRegistry.create(Supplier<RegistryLoader<I,M>> registryLoader)
Creates a new mapped registry with the givenRegistryLoader
supplier.static <I, K, V> SimpleMappedRegistry<K,V>
SimpleMappedRegistry.create(I input, Supplier<RegistryLoader<I,Map<K,V>>> registryLoader)
Creates a new mapped registry with the givenRegistryLoader
and input.static <I, K, V> SimpleMappedRegistry<K,V>
SimpleMappedRegistry.create(Supplier<RegistryLoader<I,Map<K,V>>> registryLoader)
Creates a new mapped registry with the givenRegistryLoader
supplier.static <I, M> SimpleRegistry<M>
SimpleRegistry.create(I input, Supplier<RegistryLoader<I,M>> registryLoader)
Creates a new registry with the givenRegistryLoader
supplier and input.static <I, M> SimpleRegistry<M>
SimpleRegistry.create(Supplier<RegistryLoader<I,M>> registryLoader)
Creates a new registry with the givenRegistryLoader
supplier.static <I, V> VersionedRegistry<V>
VersionedRegistry.create(I input, Supplier<RegistryLoader<I,it.unimi.dsi.fastutil.ints.Int2ObjectMap<V>>> registryLoader)
Creates a new versioned registry with the givenRegistryLoader
supplier and input.static <I, V> VersionedRegistry<V>
VersionedRegistry.create(Supplier<RegistryLoader<I,it.unimi.dsi.fastutil.ints.Int2ObjectMap<V>>> registryLoader)
Creates a new versioned registry with the givenRegistryLoader
supplier.ModifierConstructorDescriptionprotected
AbstractMappedRegistry(I input, RegistryLoader<I,M> registryLoader)
protected
ArrayRegistry(I input, RegistryLoader<I,M[]> registryLoader)
Creates a new array registry of this class with the given input andRegistryLoader
.protected
MappedRegistry(I input, RegistryLoader<I,M> registryLoader)
protected
Registry(I input, RegistryLoader<I,M> registryLoader)
Creates a new instance of this class with the given input andRegistryLoader
.protected
SimpleMappedRegistry(I input, RegistryLoader<I,Map<K,V>> registryLoader)
protected
VersionedRegistry(I input, RegistryLoader<I,it.unimi.dsi.fastutil.ints.Int2ObjectMap<V>> registryLoader)
-
Uses of RegistryLoader in org.geysermc.geyser.registry.loader
Modifier and TypeClassDescriptionclass
AnnotatedRegistryLoader<R,A extends Annotation,V>
A mapped registry loader which takes in aString
and returns a transformedAnnotation
as the value.class
class
Loads block entities from the given classpath.class
Loads collision data from the given resource path.class
An abstract registry loader for loading effects from a resource path.class
class
A RegistryLoader that loads data from two different locations, yet with the same input type.class
Loads NBT data from the given resource path.class
Loads particle types from the given resource path.class
Generates a collection ofPotionMixData
that enables the Bedrock client to place brewing items into the brewing stand.class
Loads sound effects from the given resource path.class
Loads sounds from the given input.class
Loads sound handlers from the given classpath.Modifier and TypeMethodDescriptionstatic <V> RegistryLoader<Object,V>
Wraps the surroundingSupplier
in aRegistryLoader
which does not take in any input value.