| Package | Description |
|---|---|
| org.geysermc.connector.registry |
| Modifier and Type | Field and Description |
|---|---|
static VersionedRegistry<BlockMappings> |
BlockRegistries.BLOCKS
A versioned registry which holds
BlockMappings 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 a
RecipeType to a corresponding list of CraftingData. |
static VersionedRegistry<ItemMappings> |
Registries.ITEMS
A versioned registry which holds
ItemMappings 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, and
Recipe as the value. |
| 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,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,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,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. |
Copyright © 2021 GeyserMC. All rights reserved.