Class GatherDataEvent

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.data.event.GatherDataEvent
All Implemented Interfaces:
IModBusEvent
Direct Known Subclasses:
GatherDataEvent.Client, GatherDataEvent.Server

public abstract sealed class GatherDataEvent extends net.neoforged.bus.api.Event implements IModBusEvent permits GatherDataEvent.Server, GatherDataEvent.Client

Gathers the providers used to generate data and resources. This is only fired for mods that are added via '--mod' in the run arguments.

These events are not cancellable.

These events are fired on the mod-specific event bus, during data generation.

See Also: