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

    • PROVIDERS

      public static final SimpleMappedRegistry<Class<?>,​ProviderSupplier> PROVIDERS
      A registry holding all the providers. This has to be initialized first to allow extensions to access providers during other registry events.
    • BEDROCK_ENTITY_IDENTIFIERS

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

      public static final PacketTranslatorRegistry<org.cloudburstmc.protocol.bedrock.packet.BedrockPacket> BEDROCK_PACKET_TRANSLATORS
      A registry containing all the Bedrock packet translators.
    • BIOMES_NBT

      public static final SimpleRegistry<org.cloudburstmc.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.
    • CRAFTING_DATA

      public static final VersionedRegistry<Map<com.github.steveice10.mc.protocol.data.game.recipe.RecipeType,​List<org.cloudburstmc.protocol.bedrock.data.inventory.crafting.recipe.RecipeData>>> CRAFTING_DATA
      A versioned registry which holds a RecipeType to a corresponding list of RecipeData.
    • 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.
    • JAVA_ITEMS

      public static final SimpleRegistry<List<Item>> JAVA_ITEMS
    • JAVA_ITEM_IDENTIFIERS

      public static final SimpleMappedRegistry<String,​Item> JAVA_ITEM_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.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 VersionedRegistry<Set<org.cloudburstmc.protocol.bedrock.data.inventory.crafting.PotionMixData>> POTION_MIXES
      A registry holding all the potion mixes.
    • RECIPES

      public static final VersionedRegistry<it.unimi.dsi.fastutil.ints.Int2ObjectMap<GeyserRecipe>> RECIPES
      A versioned registry holding all the recipes, with the net ID being the key, and GeyserRecipe as the value.
    • RECORDS

      public static final IntMappedRegistry<org.cloudburstmc.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.
    • RESOURCE_PACKS

      public static final DeferredRegistry<Map<String,​org.geysermc.geyser.api.pack.ResourcePack>> RESOURCE_PACKS
      A mapped registry holding ResourcePack's with the pack uuid as keys.
    • SOUNDS

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

      public static final SimpleMappedRegistry<com.github.steveice10.mc.protocol.data.game.level.event.LevelEvent,​LevelEventTranslator> SOUND_LEVEL_EVENTS
      A mapped registry holding LevelEvents 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()