Class Registries

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

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

    • BEDROCK_ENTITY_IDENTIFIERS

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

      public static final PacketTranslatorRegistry<com.nukkitx.protocol.bedrock.BedrockPacket> BEDROCK_PACKET_TRANSLATORS
      A registry containing all the Bedrock packet translators.
    • 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<com.github.steveice10.mc.protocol.data.game.level.block.BlockEntityType,​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.
    • ENCHANTMENTS

      A registry holding data of all the known enchantments.
    • ENTITY_DEFINITIONS

      public static final SimpleMappedRegistry<com.github.steveice10.mc.protocol.data.game.entity.type.EntityType,​EntityDefinition<?>> ENTITY_DEFINITIONS
      A map containing all entity types and their respective Geyser definitions
    • JAVA_ENTITY_IDENTIFIERS

      public static final SimpleMappedRegistry<String,​EntityDefinition<?>> JAVA_ENTITY_IDENTIFIERS
      A map containing all Java entity identifiers and their respective Geyser definitions
    • JAVA_PACKET_TRANSLATORS

      public static final PacketTranslatorRegistry<com.github.steveice10.packetlib.packet.Packet> JAVA_PACKET_TRANSLATORS
      A registry containing all the Java packet translators.
    • 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.level.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_EVENTS

      public static final SimpleMappedRegistry<com.github.steveice10.mc.protocol.data.game.level.event.SoundEvent,​LevelEventTranslator> SOUND_EVENTS
      A mapped registry holding SoundEvents to their corresponding LevelEventTranslator.
    • SOUND_TRANSLATORS

      public static final SimpleMappedRegistry<SoundTranslator,​SoundInteractionTranslator<?>> SOUND_TRANSLATORS
      A mapped registry holding SoundTranslators to their corresponding SoundInteractionTranslator.
  • Constructor Details

    • Registries

      public Registries()
  • Method Details

    • init

      public static void init()