Class GatherDataEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.data.event.GatherDataEvent
- All Implemented Interfaces:
net.neoforged.fml.event.IModBusEvent
public class GatherDataEvent
extends net.neoforged.bus.api.Event
implements net.neoforged.fml.event.IModBusEvent
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final GatherDataEvent.DataGeneratorConfig
private final DataGenerator
private final ExistingFileHelper
private final net.neoforged.fml.ModContainer
-
Constructor Summary
ConstructorDescriptionGatherDataEvent
(net.neoforged.fml.ModContainer mc, DataGenerator dataGenerator, GatherDataEvent.DataGeneratorConfig dataGeneratorConfig, ExistingFileHelper existingFileHelper) -
Method Summary
Modifier and TypeMethodDescriptionnet.neoforged.fml.ModContainer
boolean
boolean
boolean
boolean
boolean
validate()
-
Field Details
-
dataGenerator
-
config
-
existingFileHelper
-
modContainer
private final net.neoforged.fml.ModContainer modContainer
-
-
Constructor Details
-
GatherDataEvent
public GatherDataEvent(net.neoforged.fml.ModContainer mc, DataGenerator dataGenerator, GatherDataEvent.DataGeneratorConfig dataGeneratorConfig, ExistingFileHelper existingFileHelper)
-
-
Method Details
-
getModContainer
public net.neoforged.fml.ModContainer getModContainer() -
getInputs
-
getGenerator
-
getExistingFileHelper
-
getLookupProvider
-
includeServer
public boolean includeServer() -
includeClient
public boolean includeClient() -
includeDev
public boolean includeDev() -
includeReports
public boolean includeReports() -
validate
public boolean validate()
-