Uses of Interface
net.neoforged.neoforge.registries.callback.RegistryCallback
-
Uses of RegistryCallback in net.neoforged.neoforge.registries
Modifier and TypeClassDescription(package private) static class
(package private) static class
(package private) static class
(package private) static class
Modifier and TypeFieldDescriptionprivate final List
<RegistryCallback<T>> RegistryBuilder.callbacks
Modifier and TypeMethodDescriptiondefault <C extends RegistryCallback<T>>
voidIRegistryExtension.addCallback
(Class<C> type, C callback) Adds a lambda-implemented callback to this registry.Modifier and TypeMethodDescriptionvoid
BaseMappedRegistry.addCallback
(RegistryCallback<T> callback) void
IRegistryExtension.addCallback
(RegistryCallback<T> callback) Adds a callback to this registry.RegistryBuilder.callback
(RegistryCallback<T> callback) -
Uses of RegistryCallback in net.neoforged.neoforge.registries.callback
Modifier and TypeInterfaceDescriptioninterface
AddCallback<T>
Fired when objects are added to the registry.interface
BakeCallback<T>
Fired when the registry is finished with all registration, or otherwise when it's frozen, in general, such as after snapshot injection.interface
Fired when the registry is cleared.