Uses of Class
org.geysermc.geyser.registry.MappedRegistry
-
Uses of MappedRegistry in org.geysermc.geyser.registry
Modifier and TypeFieldDescriptionstatic MappedRegistry<String,Integer,Object2IntBiMap<String>>
BlockRegistries.JAVA_IDENTIFIERS
A (bi)mapped registry containing the Java IDs to identifiers.Modifier and TypeMethodDescriptionstatic <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(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(Supplier<RegistryLoader<I,M>> registryLoader)
Creates a new mapped registry with the givenRegistryLoader
supplier.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
.