| Package | Description |
|---|---|
| org.geysermc.connector.registry | |
| org.geysermc.connector.registry.loader |
| Modifier and Type | Method and Description |
|---|---|
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 given
RegistryLoader and input. |
static <I,K,V,M extends Map<K,V>> |
MappedRegistry.create(I input,
RegistryLoader<I,M> registryLoader)
Creates a new mapped registry with the given
RegistryLoader and input. |
static <I,M> SimpleRegistry<M> |
SimpleRegistry.create(I input,
RegistryLoader<I,M> registryLoader)
Creates a new registry with the given
RegistryLoader and input. |
static <I,K,V> SimpleMappedRegistry<K,V> |
SimpleMappedRegistry.create(I input,
RegistryLoader<I,Map<K,V>> registryLoader)
Creates a new mapped registry with the given
RegistryLoader 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 given
RegistryLoader. |
static <I,K,V,M extends Map<K,V>> |
MappedRegistry.create(RegistryLoader<I,M> registryLoader)
Creates a new mapped registry with the given
RegistryLoader. |
static <I,M> SimpleRegistry<M> |
SimpleRegistry.create(RegistryLoader<I,M> registryLoader)
Creates a new registry with the given
RegistryLoader. |
static <I,K,V> SimpleMappedRegistry<K,V> |
SimpleMappedRegistry.create(RegistryLoader<I,Map<K,V>> registryLoader)
Creates a new mapped registry with the given
RegistryLoader. |
| Modifier and Type | Method and Description |
|---|---|
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 given
RegistryLoader supplier and input. |
static <I,K,V,M extends Map<K,V>> |
MappedRegistry.create(I input,
Supplier<RegistryLoader<I,M>> registryLoader)
Creates a new mapped registry with the given
RegistryLoader and input. |
static <I,M> SimpleRegistry<M> |
SimpleRegistry.create(I input,
Supplier<RegistryLoader<I,M>> registryLoader)
Creates a new registry with the given
RegistryLoader supplier
and input. |
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 given
RegistryLoader 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 given
RegistryLoader supplier. |
static <I,K,V,M extends Map<K,V>> |
MappedRegistry.create(Supplier<RegistryLoader<I,M>> registryLoader)
Creates a new mapped registry with the given
RegistryLoader supplier. |
static <I,M> SimpleRegistry<M> |
SimpleRegistry.create(Supplier<RegistryLoader<I,M>> registryLoader)
Creates a new registry with the given
RegistryLoader supplier. |
static <I,K,V> SimpleMappedRegistry<K,V> |
SimpleMappedRegistry.create(Supplier<RegistryLoader<I,Map<K,V>>> registryLoader)
Creates a new mapped registry with the given
RegistryLoader supplier. |
| Constructor and Description |
|---|
AbstractMappedRegistry(I input,
RegistryLoader<I,M> registryLoader) |
MappedRegistry(I input,
RegistryLoader<I,M> registryLoader) |
Registry(I input,
RegistryLoader<I,M> registryLoader)
Creates a new instance of this class with the given input and
RegistryLoader. |
SimpleMappedRegistry(I input,
RegistryLoader<I,Map<K,V>> registryLoader) |
VersionedRegistry(I input,
RegistryLoader<I,it.unimi.dsi.fastutil.ints.Int2ObjectMap<V>> registryLoader) |
| Modifier and Type | Class and Description |
|---|---|
class |
AnnotatedRegistryLoader<R,A extends Annotation,V>
A mapped registry loader which takes in a
String and returns a transformed
Annotation as the value. |
class |
BlockEntityRegistryLoader
Loads block entities from the given classpath.
|
class |
CollisionRegistryLoader
Loads collision data from the given resource path.
|
class |
EffectRegistryLoader<T>
An abstract registry loader for loading effects from a resource path.
|
class |
MultiResourceRegistryLoader<I,V>
A RegistryLoader that loads data from two different locations, yet with the same input type.
|
class |
NbtRegistryLoader
Loads NBT data from the given resource path.
|
class |
ParticleTypesRegistryLoader
Loads particle types from the given resource path.
|
class |
PotionMixRegistryLoader
Generates a collection of
PotionMixData that enables the
Bedrock client to place brewing items into the brewing stand. |
class |
SoundEffectsRegistryLoader
Loads sound effects from the given resource path.
|
class |
SoundHandlerRegistryLoader
Loads sound handlers from the given classpath.
|
class |
SoundRegistryLoader
Loads sounds from the given input.
|
| Modifier and Type | Method and Description |
|---|---|
static <V> RegistryLoader<Object,V> |
RegistryLoaders.empty(Supplier<V> supplier)
Wraps the surrounding
Supplier in a RegistryLoader which does
not take in any input value. |
Copyright © 2021 GeyserMC. All rights reserved.