Uses of Interface
io.papermc.paper.registry.RegistryKey
-
Uses of RegistryKey in io.papermc.paper.command.brigadier.argument
Modifier 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
Modifier and TypeFieldDescriptionstatic final RegistryKey
<Attribute> RegistryKey.ATTRIBUTE
static final RegistryKey
<PatternType> RegistryKey.BANNER_PATTERN
static final RegistryKey
<Biome> RegistryKey.BIOME
Data-driven registry for biomes.static final RegistryKey
<BlockType> RegistryKey.BLOCK
static final RegistryKey
<Cat.Type> RegistryKey.CAT_VARIANT
static final RegistryKey
<DamageType> RegistryKey.DAMAGE_TYPE
Data-driven registry for damage types.static final RegistryKey
<Enchantment> RegistryKey.ENCHANTMENT
Built-in registry for enchantments.static final RegistryKey
<EntityType> RegistryKey.ENTITY_TYPE
static final RegistryKey
<Fluid> RegistryKey.FLUID
static final RegistryKey
<Frog.Variant> RegistryKey.FROG_VARIANT
static final RegistryKey
<GameEvent> RegistryKey.GAME_EVENT
Built-in registry for game eventsstatic final RegistryKey
<MusicInstrument> RegistryKey.INSTRUMENT
Built-in registry for instruments.static final RegistryKey
<ItemType> RegistryKey.ITEM
static final RegistryKey
<MapCursor.Type> RegistryKey.MAP_DECORATION_TYPE
static final RegistryKey
<MemoryKey<?>> RegistryKey.MEMORY_MODULE_TYPE
static final RegistryKey
<PotionEffectType> RegistryKey.MOB_EFFECT
Built-in registry for potion effect types (mob effects).static final RegistryKey
<Art> RegistryKey.PAINTING_VARIANT
static final RegistryKey
<Particle> RegistryKey.PARTICLE_TYPE
static final RegistryKey
<PotionType> RegistryKey.POTION
static final RegistryKey
<Sound> RegistryKey.SOUND_EVENT
static final RegistryKey
<Structure> RegistryKey.STRUCTURE
Data-driven registry for structures.static final RegistryKey
<StructureType> RegistryKey.STRUCTURE_TYPE
Built-in registry for structure types.static final RegistryKey
<TrimMaterial> RegistryKey.TRIM_MATERIAL
Data-driven registry for trim materials.static final RegistryKey
<TrimPattern> RegistryKey.TRIM_PATTERN
Data-driven registry for trim patterns.static final RegistryKey
<Villager.Profession> RegistryKey.VILLAGER_PROFESSION
static final RegistryKey
<Villager.Type> RegistryKey.VILLAGER_TYPE
static final RegistryKey
<Wolf.Variant> RegistryKey.WOLF_VARIANT
Data-driven registry for wolf variantsModifier and TypeMethodDescriptionTypedKey.registryKey()
Gets the registry key for the value this key represents.Modifier and TypeMethodDescriptionTypedKey.create
(@NotNull RegistryKey<T> registryKey, @NotNull net.kyori.adventure.key.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.