Class Registries

java.lang.Object
org.geysermc.connector.registry.Registries

public class Registries extends Object
Holds all the common registries in Geyser.
  • Field Details

    • BIOMES_NBT

      public static final SimpleRegistry<com.nukkitx.nbt.NbtMap> 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_IDENTIFIERS
      A mapped registry which stores Java biome identifiers and their Bedrock biome identifier.
    • BLOCK_ENTITIES

      public static final SimpleMappedRegistry<String,​BlockEntityTranslator> BLOCK_ENTITIES
      A mapped registry which stores a block entity identifier to its BlockEntityTranslator.
    • COLLISIONS

      public static final SimpleMappedRegistry<Integer,​BlockCollision> COLLISIONS
      A mapped registry containing which holds block IDs to its BlockCollision.
    • 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_DATA
      A versioned registry which holds a RecipeType to a corresponding list of CraftingData.
    • ENTITY_IDENTIFIERS

      public static final SimpleRegistry<com.nukkitx.nbt.NbtMap> ENTITY_IDENTIFIERS
      A registry holding a CompoundTag of the known entity identifiers.
    • ITEMS

      public static final VersionedRegistry<ItemMappings> ITEMS
      A versioned registry which holds ItemMappings for 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> PARTICLES
      A mapped registry holding the ParticleType to a corresponding ParticleMapping, 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_MIXES
      A 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>> RECIPES
      A versioned registry holding all the recipes, with the net ID being the key, and Recipe as the value.
    • RECORDS

      public static final SimpleMappedRegistry<Integer,​com.nukkitx.protocol.bedrock.data.SoundEvent> RECORDS
      A mapped registry holding the available records, with the ID of the record being the key, and the SoundEvent as the value.
    • SOUNDS

      public static final SimpleMappedRegistry<String,​SoundMapping> SOUNDS
      A mapped registry holding sound identifiers to their corresponding SoundMapping.
    • SOUND_EFFECTS

      public static final SimpleMappedRegistry<com.github.steveice10.mc.protocol.data.game.world.effect.SoundEffect,​Effect> SOUND_EFFECTS
      A mapped registry holding SoundEffects to their corresponding Effect.
    • SOUND_HANDLERS

      public static final SimpleMappedRegistry<SoundHandler,​SoundInteractionHandler<?>> SOUND_HANDLERS
      A mapped registry holding SoundHandlers to their corresponding SoundInteractionHandler.
  • Constructor Details

    • Registries

      public Registries()
  • Method Details

    • init

      public static void init()