Uses of Interface
io.papermc.paper.registry.RegistryKey
Packages that use RegistryKey
Package
Description
-
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> @NonNull TypedKey <T> RegistryArgumentExtractor.getTypedKey(@NonNull com.mojang.brigadier.context.CommandContext<S> context, @NonNull RegistryKey<T> registryKey, @NonNull String name) Gets a typed key argument from a command context.static <T> @NotNull com.mojang.brigadier.arguments.ArgumentType<T> ArgumentTypes.resource(@NotNull RegistryKey<T> registryKey) An argument for a resource in aRegistry.ArgumentTypes.resourceKey(@NotNull RegistryKey<T> registryKey) An argument for a typed key for aRegistry. -
Uses of RegistryKey in io.papermc.paper.registry
Fields in io.papermc.paper.registry declared as RegistryKeyModifier and TypeFieldDescriptionstatic final RegistryKey<Attribute> RegistryKey.ATTRIBUTEstatic final RegistryKey<PatternType> RegistryKey.BANNER_PATTERNstatic final RegistryKey<Biome> RegistryKey.BIOMEData-driven registry for biomes.static final RegistryKey<BlockType> RegistryKey.BLOCKstatic final RegistryKey<Cat.Type> RegistryKey.CAT_VARIANTstatic final RegistryKey<DamageType> RegistryKey.DAMAGE_TYPEData-driven registry for damage types.static final RegistryKey<Enchantment> RegistryKey.ENCHANTMENTData-driven registry for enchantments.static final RegistryKey<EntityType> RegistryKey.ENTITY_TYPEstatic final RegistryKey<Fluid> RegistryKey.FLUIDstatic final RegistryKey<Frog.Variant> RegistryKey.FROG_VARIANTstatic final RegistryKey<GameEvent> RegistryKey.GAME_EVENTBuilt-in registry for game eventsstatic final RegistryKey<MusicInstrument> RegistryKey.INSTRUMENTBuilt-in registry for instruments.static final RegistryKey<ItemType> RegistryKey.ITEMstatic final RegistryKey<JukeboxSong> RegistryKey.JUKEBOX_SONGData-driven registry for jukebox songs.static final RegistryKey<MapCursor.Type> RegistryKey.MAP_DECORATION_TYPEstatic final RegistryKey<MemoryKey<?>> RegistryKey.MEMORY_MODULE_TYPEstatic final RegistryKey<PotionEffectType> RegistryKey.MOB_EFFECTBuilt-in registry for potion effect types (mob effects).static final RegistryKey<Art> RegistryKey.PAINTING_VARIANTstatic final RegistryKey<Particle> RegistryKey.PARTICLE_TYPEstatic final RegistryKey<PotionType> RegistryKey.POTIONstatic final RegistryKey<Sound> RegistryKey.SOUND_EVENTstatic 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_PROFESSIONstatic final RegistryKey<Villager.Type> RegistryKey.VILLAGER_TYPEstatic 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 TypeMethodDescriptionTypedKey.create(@NotNull RegistryKey<T> registryKey, @NotNull Key key) Create a typed key from a key and a registry key.RegistryAccess.getRegistry(@NotNull 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 TypeMethodDescription@NonNull RegistryKey<T> RegistryEvent.registryKey()Get the key for the registry this event pertains to.@NonNull RegistryKey<T> 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 RegistryKeyModifier and TypeMethodDescription@NonNull RegistryKey<T> RegistrySet.registryKey()Get the registry key for this set.Methods in io.papermc.paper.registry.set with parameters of type RegistryKeyModifier and TypeMethodDescriptionstatic <T extends Keyed>
RegistryKeySet<T> RegistrySet.keySet(@NonNull RegistryKey<T> registryKey, @NonNull TypedKey<T> @NonNull ... keys) Creates a directRegistrySetfromTypedKeys.static <T extends Keyed>
@NonNull RegistryKeySet<T> RegistrySet.keySet(@NonNull RegistryKey<T> registryKey, @NonNull Iterable<TypedKey<T>> keys) Creates a directRegistrySetfromTypedKeys.static <T extends Keyed>
@NonNull RegistryKeySet<T> RegistrySet.keySetFromValues(@NonNull RegistryKey<T> registryKey, @NonNull Iterable<? extends T> values) Creates aRegistryKeySetfrom registry-backed values. -
Uses of RegistryKey in io.papermc.paper.registry.tag
Methods in io.papermc.paper.registry.tag that return RegistryKeyModifier and TypeMethodDescription@NonNull RegistryKey<T> TagKey.registryKey()Get the registry key for this tag key.Methods in io.papermc.paper.registry.tag with parameters of type RegistryKeyModifier and TypeMethodDescriptionstatic <T> @NonNull TagKey<T> TagKey.create(@NonNull RegistryKey<T> registryKey, @NonNull Key key) Creates a new tag key for a registry.