Uses of Class
org.geysermc.geyser.registry.VersionedRegistry
Packages that use VersionedRegistry
-
Uses of VersionedRegistry in org.geysermc.geyser.registry
Fields in org.geysermc.geyser.registry declared as VersionedRegistryModifier and TypeFieldDescriptionstatic VersionedRegistry<BlockMappings>
BlockRegistries.BLOCKS
A versioned registry which holdsBlockMappings
for each version.static VersionedRegistry<Map<com.github.steveice10.mc.protocol.data.game.recipe.RecipeType,List<com.nukkitx.protocol.bedrock.data.inventory.CraftingData>>>
Registries.CRAFTING_DATA
A versioned registry which holds aRecipeType
to a corresponding list ofCraftingData
.static VersionedRegistry<ItemMappings>
Registries.ITEMS
A versioned registry which holdsItemMappings
for each version.static VersionedRegistry<it.unimi.dsi.fastutil.ints.Int2ObjectMap<com.github.steveice10.mc.protocol.data.game.recipe.Recipe>>
Registries.RECIPES
A versioned registry holding all the recipes, with the net ID being the key, andRecipe
as the value.Methods in org.geysermc.geyser.registry that return VersionedRegistryModifier and TypeMethodDescriptionstatic <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(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(Supplier<RegistryLoader<I,it.unimi.dsi.fastutil.ints.Int2ObjectMap<V>>> registryLoader)
Creates a new versioned registry with the givenRegistryLoader
supplier.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
.