Interface RegistryEvent<T>

Type Parameters:
T - registry entry type
All Superinterfaces:
LifecycleEvent
All Known Subinterfaces:
RegistryEntryAddEvent<T,B>, RegistryFreezeEvent<T,B>

@Experimental @NullMarked @NonExtendable public interface RegistryEvent<T> extends LifecycleEvent
Base type for all registry events.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get 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