Interface RegistryKey<T>

Type Parameters:
T - the type of the registry entry
All Superinterfaces:
Holder<T>, Keyed
All Known Subinterfaces:
Attribute, Block, BlockEntityType, BlockSoundType, DataComponent<T>, DebugSubscription<T>, EntityType, FeatureFlag, Fluid, GameEvent, Material, Particle, PotionEffect, PotionType, StaticProtocolObject<T>, StatisticType, VillagerProfession
All Known Implementing Classes:
ArgumentParserType, BlockEntityTypeImpl, BuiltinSoundEvent, DebugSubscriptionImpl, Particle.Block, Particle.BlockCrumble, Particle.BlockMarker, Particle.DragonBreath, Particle.Dust, Particle.DustColorTransition, Particle.DustPillar, Particle.Effect, Particle.EntityEffect, Particle.FallingDust, Particle.Flash, Particle.InstantEffect, Particle.Item, Particle.SculkCharge, Particle.Shriek, Particle.Simple, Particle.TintedLeaves, Particle.Trail, Particle.Vibration, RecipeBookCategory, RecipeDisplayType, RecipeType, SlotDisplayType, VillagerProfessionImpl, VillagerType

@NonExtendable public non-sealed interface RegistryKey<T> extends Holder<T>, Keyed
Represents a reference to a Registry entry.