| Package | Description |
|---|---|
| org.geysermc.connector.registry |
| Modifier and Type | Field and Description |
|---|---|
static MappedRegistry<Integer,BlockMapping,it.unimi.dsi.fastutil.ints.Int2ObjectMap<BlockMapping>> |
BlockRegistries.JAVA_BLOCKS
A mapped registry which stores Java IDs to
BlockMapping, containing miscellaneous information about
blocks and their behavior in many cases. |
static MappedRegistry<String,Integer,Object2IntBiMap<String>> |
BlockRegistries.JAVA_IDENTIFIERS
A (bi)mapped registry containing the Java IDs to identifiers.
|
| Modifier and Type | Method and Description |
|---|---|
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,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,K,V,M extends Map<K,V>> |
MappedRegistry.create(RegistryLoader<I,M> registryLoader)
Creates a new mapped registry with the given
RegistryLoader. |
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. |
Copyright © 2021 GeyserMC. All rights reserved.