Package org.geysermc.geyser.registry
Class Registries
java.lang.Object
org.geysermc.geyser.registry.Registries
Holds all the common registries in Geyser.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleDeferredRegistry<org.cloudburstmc.nbt.NbtMap>A registry holding a NbtMap of the known entity identifiers.static final SimpleRegistry<Set<org.cloudburstmc.nbt.NbtMap>>A registry holding a list of all the known entity properties to be sent to the client after start game.static final PacketTranslatorRegistry<org.cloudburstmc.protocol.bedrock.packet.BedrockPacket>A registry containing all the Bedrock packet translators.static final SimpleDeferredRegistry<it.unimi.dsi.fastutil.objects.Object2IntMap<String>>A mapped registry which stores Java biome identifiers and their Bedrock biome identifier.static final SimpleDeferredRegistry<org.cloudburstmc.nbt.NbtMap>A registry holding a NbtMap of all the known biomes.static final SimpleMappedDeferredRegistry<org.geysermc.mcprotocollib.protocol.data.game.level.block.BlockEntityType,BlockEntityTranslator> A mapped registry which stores a block entity identifier to itsBlockEntityTranslator.static final ListRegistry<org.geysermc.mcprotocollib.protocol.data.game.item.component.DataComponents>static final SimpleMappedRegistry<org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType,EntityDefinition<?>> A map containing all entity types and their respective Geyser definitionsstatic final VersionedRegistry<ItemMappings>A versioned registry which holdsItemMappingsfor each version.static final SimpleMappedRegistry<String,EntityDefinition<?>> A map containing all Java entity identifiers and their respective Geyser definitionsstatic final SimpleMappedRegistry<String,Item> A registry containing item identifiers.static final ListRegistry<Item>A registry containing all Java items ordered by their network ID.static final PacketTranslatorRegistry<org.geysermc.mcprotocollib.network.packet.Packet>A registry containing all the Java packet translators.static final SimpleMappedDeferredRegistry<org.geysermc.mcprotocollib.protocol.data.game.level.particle.ParticleType,ParticleMapping> A mapped registry holding theParticleTypeto a correspondingParticleMapping, containing various pieces of data primarily for how Bedrock should handle the particle.static final VersionedDeferredRegistry<Set<org.cloudburstmc.protocol.bedrock.data.inventory.crafting.PotionMixData>>A registry holding all the potion mixes.static final SimpleMappedRegistry<Class<?>,ProviderSupplier> A registry holding all the providers.static final SimpleMappedDeferredRegistry<UUID,org.geysermc.geyser.api.pack.ResourcePack> A mapped registry holdingResourcePack's with the pack uuid as keys.static final SimpleMappedDeferredRegistry<org.geysermc.mcprotocollib.protocol.data.game.level.event.LevelEvent,LevelEventTranslator> A mapped registry holdingLevelEvents to their correspondingLevelEventTranslator.static final SimpleMappedDeferredRegistry<SoundTranslator,SoundInteractionTranslator<?>> A mapped registry holdingSoundTranslators to their correspondingSoundInteractionTranslator.static final SimpleMappedDeferredRegistry<String,SoundMapping> A mapped registry holding sound identifiers to their correspondingSoundMapping.static final VersionedRegistry<it.unimi.dsi.fastutil.objects.Object2ObjectMap<int[],String>> A versioned registry holding most Bedrock tags, with the Java item list (sorted) being the key, and the tag name as the value. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
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
A registry holding a NbtMap of the known entity identifiers. -
BEDROCK_PACKET_TRANSLATORS
public static final PacketTranslatorRegistry<org.cloudburstmc.protocol.bedrock.packet.BedrockPacket> BEDROCK_PACKET_TRANSLATORSA registry containing all the Bedrock packet translators. -
BIOMES_NBT
A registry holding a NbtMap of all the known biomes. -
BIOME_IDENTIFIERS
public static final SimpleDeferredRegistry<it.unimi.dsi.fastutil.objects.Object2IntMap<String>> BIOME_IDENTIFIERSA mapped registry which stores Java biome identifiers and their Bedrock biome identifier. -
BLOCK_ENTITIES
public static final SimpleMappedDeferredRegistry<org.geysermc.mcprotocollib.protocol.data.game.level.block.BlockEntityType,BlockEntityTranslator> BLOCK_ENTITIESA mapped registry which stores a block entity identifier to itsBlockEntityTranslator. -
ENTITY_DEFINITIONS
public static final SimpleMappedRegistry<org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType,EntityDefinition<?>> ENTITY_DEFINITIONSA map containing all entity types and their respective Geyser definitions -
BEDROCK_ENTITY_PROPERTIES
A registry holding a list of all the known entity properties to be sent to the client after start game. -
JAVA_ENTITY_IDENTIFIERS
A map containing all Java entity identifiers and their respective Geyser definitions -
JAVA_PACKET_TRANSLATORS
public static final PacketTranslatorRegistry<org.geysermc.mcprotocollib.network.packet.Packet> JAVA_PACKET_TRANSLATORSA registry containing all the Java packet translators. -
JAVA_ITEMS
A registry containing all Java items ordered by their network ID. -
JAVA_ITEM_IDENTIFIERS
A registry containing item identifiers. -
DEFAULT_DATA_COMPONENTS
public static final ListRegistry<org.geysermc.mcprotocollib.protocol.data.game.item.component.DataComponents> DEFAULT_DATA_COMPONENTS -
ITEMS
A versioned registry which holdsItemMappingsfor each version. These item mappings contain primarily Bedrock version-specific data. -
PARTICLES
public static final SimpleMappedDeferredRegistry<org.geysermc.mcprotocollib.protocol.data.game.level.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 VersionedDeferredRegistry<Set<org.cloudburstmc.protocol.bedrock.data.inventory.crafting.PotionMixData>> POTION_MIXESA registry holding all the potion mixes. -
RESOURCE_PACKS
public static final SimpleMappedDeferredRegistry<UUID,org.geysermc.geyser.api.pack.ResourcePack> RESOURCE_PACKSA mapped registry holdingResourcePack's with the pack uuid as keys. -
TAGS
public static final VersionedRegistry<it.unimi.dsi.fastutil.objects.Object2ObjectMap<int[],String>> TAGSA versioned registry holding most Bedrock tags, with the Java item list (sorted) being the key, and the tag name as the value. -
SOUNDS
A mapped registry holding sound identifiers to their correspondingSoundMapping. -
SOUND_LEVEL_EVENTS
public static final SimpleMappedDeferredRegistry<org.geysermc.mcprotocollib.protocol.data.game.level.event.LevelEvent,LevelEventTranslator> SOUND_LEVEL_EVENTSA mapped registry holdingLevelEvents to their correspondingLevelEventTranslator. -
SOUND_TRANSLATORS
public static final SimpleMappedDeferredRegistry<SoundTranslator,SoundInteractionTranslator<?>> SOUND_TRANSLATORSA mapped registry holdingSoundTranslators to their correspondingSoundInteractionTranslator.
-
-
Constructor Details
-
Registries
public Registries()
-
-
Method Details
-
load
public static void load() -
populate
public static void populate()
-