Uses of Interface
io.papermc.paper.registry.RegistryKey
Packages that use RegistryKey
-
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.ENCHANTMENTBuilt-in 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<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 variantsMethods 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 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.