Package io.papermc.paper.registry.event
Interface RegistryFreezeEvent<T,B extends RegistryBuilder<T>>
- Type Parameters:
T
- registry entry typeB
- registry entry builder type
- All Superinterfaces:
LifecycleEvent
,RegistryComposeEvent<T,
,B> RegistryEvent<T>
@ScheduledForRemoval(inVersion="1.21.7 or 1.22, whichever comes first")
@Deprecated(since="1.21.6",
forRemoval=true)
@NonExtendable
public interface RegistryFreezeEvent<T,B extends RegistryBuilder<T>>
extends RegistryComposeEvent<T,B>
Deprecated, for removal: This API element is subject to removal in a future version.
Event object for
RegistryEventProvider.freeze()
. This
event is fired right before a registry is frozen disallowing further changes.
It provides a way for plugins to add new objects to the registry.-
Method Summary
Methods inherited from interface io.papermc.paper.registry.event.RegistryComposeEvent
getOrCreateTag, registry
Methods inherited from interface io.papermc.paper.registry.event.RegistryEvent
registryKey
RegistryComposeEvent