Package io.papermc.paper.registry.event
Interface RegistryEvent<T>
- Type Parameters:
T
- registry entry type
- All Superinterfaces:
LifecycleEvent
- All Known Subinterfaces:
RegistryEntryAddEvent<T,
,B> RegistryFreezeEvent<T,
B>
Base type for all registry events.
-
Method Summary
Modifier and TypeMethodDescriptionGet the key for the registry this event pertains to.
-
Method Details
-
registryKey
RegistryKey<T> registryKey()Get the key for the registry this event pertains to.- Returns:
- the registry key
-