Package org.geysermc.connector.registry
Class Registries
java.lang.Object
org.geysermc.connector.registry.Registries
Holds all the common registries in Geyser.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic SimpleRegistry<it.unimi.dsi.fastutil.objects.Object2IntMap<String>>A mapped registry which stores Java biome identifiers and their Bedrock biome identifier.static SimpleRegistry<com.nukkitx.nbt.NbtMap>A registry holding a CompoundTag of all the known biomes.A mapped registry which stores a block entity identifier to itsBlockEntityTranslator.static SimpleMappedRegistry<Integer,BlockCollision>A mapped registry containing which holds block IDs to itsBlockCollision.static VersionedRegistry<Map<com.github.steveice10.mc.protocol.data.game.recipe.RecipeType,List<com.nukkitx.protocol.bedrock.data.inventory.CraftingData>>>A versioned registry which holds aRecipeTypeto a corresponding list ofCraftingData.static SimpleRegistry<com.nukkitx.nbt.NbtMap>A registry holding a CompoundTag of the known entity identifiers.static VersionedRegistry<ItemMappings>A versioned registry which holdsItemMappingsfor each version.static SimpleMappedRegistry<com.github.steveice10.mc.protocol.data.game.world.particle.ParticleType,ParticleMapping>A mapped registry holding theParticleTypeto a correspondingParticleMapping, containing various pieces of data primarily for how Bedrock should handle the particle.static SimpleRegistry<Set<com.nukkitx.protocol.bedrock.data.inventory.PotionMixData>>A registry holding all the potion mixes.static VersionedRegistry<it.unimi.dsi.fastutil.ints.Int2ObjectMap<com.github.steveice10.mc.protocol.data.game.recipe.Recipe>>A versioned registry holding all the recipes, with the net ID being the key, andRecipeas the value.static SimpleMappedRegistry<Integer,com.nukkitx.protocol.bedrock.data.SoundEvent>A mapped registry holding the available records, with the ID of the record being the key, and theSoundEventas the value.static SimpleMappedRegistry<com.github.steveice10.mc.protocol.data.game.world.effect.SoundEffect,Effect>A mapped registry holdingSoundEffects to their correspondingEffect.static SimpleMappedRegistry<SoundHandler,SoundInteractionHandler<?>>A mapped registry holdingSoundHandlers to their correspondingSoundInteractionHandler.static SimpleMappedRegistry<String,SoundMapping>A mapped registry holding sound identifiers to their correspondingSoundMapping. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BIOMES_NBT
A registry holding a CompoundTag of all the known biomes. -
BIOME_IDENTIFIERS
public static final SimpleRegistry<it.unimi.dsi.fastutil.objects.Object2IntMap<String>> BIOME_IDENTIFIERSA mapped registry which stores Java biome identifiers and their Bedrock biome identifier. -
BLOCK_ENTITIES
A mapped registry which stores a block entity identifier to itsBlockEntityTranslator. -
COLLISIONS
A mapped registry containing which holds block IDs to itsBlockCollision. -
CRAFTING_DATA
public static final VersionedRegistry<Map<com.github.steveice10.mc.protocol.data.game.recipe.RecipeType,List<com.nukkitx.protocol.bedrock.data.inventory.CraftingData>>> CRAFTING_DATAA versioned registry which holds aRecipeTypeto a corresponding list ofCraftingData. -
ENTITY_IDENTIFIERS
A registry holding a CompoundTag of the known entity identifiers. -
ITEMS
A versioned registry which holdsItemMappingsfor each version. These item mappings contain primarily Bedrock version-specific data. -
PARTICLES
public static final SimpleMappedRegistry<com.github.steveice10.mc.protocol.data.game.world.particle.ParticleType,ParticleMapping> PARTICLESA mapped registry holding theParticleTypeto a correspondingParticleMapping, containing various pieces of data primarily for how Bedrock should handle the particle. -
POTION_MIXES
public static final SimpleRegistry<Set<com.nukkitx.protocol.bedrock.data.inventory.PotionMixData>> POTION_MIXESA registry holding all the potion mixes. -
RECIPES
public static final VersionedRegistry<it.unimi.dsi.fastutil.ints.Int2ObjectMap<com.github.steveice10.mc.protocol.data.game.recipe.Recipe>> RECIPESA versioned registry holding all the recipes, with the net ID being the key, andRecipeas the value. -
RECORDS
public static final SimpleMappedRegistry<Integer,com.nukkitx.protocol.bedrock.data.SoundEvent> RECORDSA mapped registry holding the available records, with the ID of the record being the key, and theSoundEventas the value. -
SOUNDS
A mapped registry holding sound identifiers to their correspondingSoundMapping. -
SOUND_EFFECTS
public static final SimpleMappedRegistry<com.github.steveice10.mc.protocol.data.game.world.effect.SoundEffect,Effect> SOUND_EFFECTSA mapped registry holdingSoundEffects to their correspondingEffect. -
SOUND_HANDLERS
A mapped registry holdingSoundHandlers to their correspondingSoundInteractionHandler.
-
-
Constructor Details
-
Registries
public Registries()
-
-
Method Details
-
init
public static void init()
-