Uses of Interface
io.papermc.paper.registry.RegistryKey
Packages that use RegistryKey
Package
Description
Arguments.
This package contains events related to the Paper registry system.
This package contains the API for registry sets in Paper.
The root package of the Bukkit API, contains generalized API classes.
-
Uses of RegistryKey in io.papermc.paper.command.brigadier.argument
Methods in io.papermc.paper.command.brigadier.argument with parameters of type RegistryKeyModifier and TypeMethodDescriptionstatic <T,S> TypedKey <T> RegistryArgumentExtractor.getTypedKey(com.mojang.brigadier.context.CommandContext<S> context, RegistryKey<T> registryKey, String name) Gets a typed key argument from a command context.static <T> com.mojang.brigadier.arguments.ArgumentType<T> ArgumentTypes.resource(RegistryKey<T> registryKey) An argument for a resource in aRegistry.static <T> com.mojang.brigadier.arguments.ArgumentType<TypedKey<T>> ArgumentTypes.resourceKey(RegistryKey<T> registryKey) An argument for a typed key for aRegistry. -
Uses of RegistryKey in io.papermc.paper.plugin.lifecycle.event.types
Methods in io.papermc.paper.plugin.lifecycle.event.types with parameters of type RegistryKeyModifier and TypeMethodDescription<T> LifecycleEventType.Prioritizable<BootstrapContext, ReloadableRegistrarEvent<PostFlattenTagRegistrar<T>>> TagEventTypeProvider.postFlatten(RegistryKey<T> registryKey) Get a prioritizable, reloadable registrar event for tags after they are flattened.<T> LifecycleEventType.Prioritizable<BootstrapContext, ReloadableRegistrarEvent<PreFlattenTagRegistrar<T>>> TagEventTypeProvider.preFlatten(RegistryKey<T> registryKey) Get a prioritizable, reloadable registrar event for tags before they are flattened. -
Uses of RegistryKey in io.papermc.paper.registry
Fields in io.papermc.paper.registry declared as RegistryKeyModifier and TypeFieldDescriptionstatic final RegistryKey<Attribute> RegistryKey.ATTRIBUTEBuilt-in registry for attributes.static final RegistryKey<PatternType> RegistryKey.BANNER_PATTERNData-driven registry for banner patterns.static final RegistryKey<Biome> RegistryKey.BIOMEData-driven registry for biomes.static final RegistryKey<BlockType> RegistryKey.BLOCKBuilt-in registry for block types.static final RegistryKey<Cat.Type> RegistryKey.CAT_VARIANTData-driven registry for cat variants.static final RegistryKey<Chicken.Variant> RegistryKey.CHICKEN_VARIANTData-driven registry for chicken variants.static final RegistryKey<Cow.Variant> RegistryKey.COW_VARIANTData-driven registry for cow variants.static final RegistryKey<DamageType> RegistryKey.DAMAGE_TYPEData-driven registry for damage types.static final RegistryKey<DataComponentType> RegistryKey.DATA_COMPONENT_TYPEBuilt-in registry for data component types.static final RegistryKey<Dialog> RegistryKey.DIALOGData-driven registry for dialogs.static final RegistryKey<Enchantment> RegistryKey.ENCHANTMENTData-driven registry for enchantments.static final RegistryKey<EntityType> RegistryKey.ENTITY_TYPEstatic final RegistryKey<Fluid> RegistryKey.FLUIDBuilt-in registry for fluids.static final RegistryKey<Frog.Variant> RegistryKey.FROG_VARIANTData-driven registry for frog variants.static final RegistryKey<GameEvent> RegistryKey.GAME_EVENTBuilt-in registry for game eventsstatic final RegistryKey<MusicInstrument> RegistryKey.INSTRUMENTData-driven registry for instruments.static final RegistryKey<ItemType> RegistryKey.ITEMBuilt-in registry for item types.static final RegistryKey<JukeboxSong> RegistryKey.JUKEBOX_SONGData-driven registry for jukebox songs.static final RegistryKey<MapCursor.Type> RegistryKey.MAP_DECORATION_TYPEBuilt-in registry for map decoration types.static final RegistryKey<MemoryKey<?>> RegistryKey.MEMORY_MODULE_TYPEstatic final RegistryKey<MenuType> RegistryKey.MENUBuilt-in registry for menu types.static final RegistryKey<PotionEffectType> RegistryKey.MOB_EFFECTBuilt-in registry for potion effect types (mob effects).static final RegistryKey<Art> RegistryKey.PAINTING_VARIANTData-driven registry for painting variants.static final RegistryKey<Particle> RegistryKey.PARTICLE_TYPEstatic final RegistryKey<Pig.Variant> RegistryKey.PIG_VARIANTData-driven registry for pig variants.static final RegistryKey<PotionType> RegistryKey.POTIONstatic final RegistryKey<Sound> RegistryKey.SOUND_EVENTBuilt-in registry for sound events.static final RegistryKey<Structure> RegistryKey.STRUCTUREData-driven registry for structures.static final RegistryKey<StructureType> RegistryKey.STRUCTURE_TYPEBuilt-in registry for structure types.static final RegistryKey<TrimMaterial> RegistryKey.TRIM_MATERIALData-driven registry for trim materials.static final RegistryKey<TrimPattern> RegistryKey.TRIM_PATTERNData-driven registry for trim patterns.static final RegistryKey<Villager.Profession> RegistryKey.VILLAGER_PROFESSIONBuilt-in registry for villager professions.static final RegistryKey<Villager.Type> RegistryKey.VILLAGER_TYPEBuilt-in registry for villager types.static final RegistryKey<Wolf.SoundVariant> RegistryKey.WOLF_SOUND_VARIANTData-driven registry for wolf sound variants.static final RegistryKey<Wolf.Variant> RegistryKey.WOLF_VARIANTData-driven registry for wolf variants.Methods in io.papermc.paper.registry that return RegistryKeyModifier and TypeMethodDescriptionTypedKey.registryKey()Gets the registry key for the value this key represents.Methods in io.papermc.paper.registry with parameters of type RegistryKeyModifier and TypeMethodDescriptionstatic <T> TypedKey<T> TypedKey.create(RegistryKey<T> registryKey, String key) Create a typed key from a string and a registry key.static <T> TypedKey<T> TypedKey.create(RegistryKey<T> registryKey, Key key) Create a typed key from a key and a registry key.RegistryAccess.getRegistry(RegistryKey<T> registryKey) Gets the registry with the specified key. -
Uses of RegistryKey in io.papermc.paper.registry.event
Methods in io.papermc.paper.registry.event that return RegistryKeyModifier and TypeMethodDescriptionRegistryEvent.registryKey()Get the key for the registry this event pertains to.RegistryEventProvider.registryKey()Gets the registry key associated with this event type provider. -
Uses of RegistryKey in io.papermc.paper.registry.set
Methods in io.papermc.paper.registry.set that return RegistryKeyMethods in io.papermc.paper.registry.set with parameters of type RegistryKeyModifier and TypeMethodDescriptionstatic <T extends Keyed>
RegistryKeySet<T> RegistrySet.keySet(RegistryKey<T> registryKey, TypedKey<T>... keys) Creates a directRegistrySetfromTypedKeys.static <T extends Keyed>
RegistryKeySet<T> RegistrySet.keySet(RegistryKey<T> registryKey, Iterable<TypedKey<T>> keys) Creates a directRegistrySetfromTypedKeys.static <T extends Keyed>
RegistryKeySet<T> RegistrySet.keySetFromValues(RegistryKey<T> registryKey, Iterable<? extends T> values) Creates aRegistryKeySetfrom registry-backed values.static <T> RegistryValueSet<T> RegistrySet.valueSet(RegistryKey<T> registryKey, Iterable<? extends T> values) Creates aRegistryValueSetfrom anonymous values. -
Uses of RegistryKey in io.papermc.paper.registry.tag
Methods in io.papermc.paper.registry.tag that return RegistryKeyMethods in io.papermc.paper.registry.tag with parameters of type RegistryKeyModifier and TypeMethodDescriptionstatic <T> TagKey<T> TagKey.create(RegistryKey<T> registryKey, String key) Creates a new tag key for a registry.static <T> TagKey<T> TagKey.create(RegistryKey<T> registryKey, Key key) Creates a new tag key for a registry. -
Uses of RegistryKey in io.papermc.paper.tag
Methods in io.papermc.paper.tag that return RegistryKeyModifier and TypeMethodDescriptionPostFlattenTagRegistrar.registryKey()Get the registry key for this tag registrar.PreFlattenTagRegistrar.registryKey()Get the registry key for this tag registrar. -
Uses of RegistryKey in org.bukkit
Methods in org.bukkit with parameters of type RegistryKeyModifier and TypeMethodDescription<B extends Keyed>
BUnsafeValues.get(RegistryKey<B> registry, NamespacedKey key) Deprecated.