Class GatherDataEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.fml.event.lifecycle.GatherDataEvent
- All Implemented Interfaces:
IModBusEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Modifier and TypeFieldDescriptionprivate final GatherDataEvent.DataGeneratorConfig
private final DataGenerator
private final ExistingFileHelper
private final ModContainer
-
Constructor Summary
ConstructorDescriptionGatherDataEvent
(ModContainer mc, DataGenerator dataGenerator, GatherDataEvent.DataGeneratorConfig dataGeneratorConfig, ExistingFileHelper existingFileHelper) -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
dataGenerator
-
config
-
existingFileHelper
-
modContainer
-
-
Constructor Details
-
GatherDataEvent
public GatherDataEvent(ModContainer mc, DataGenerator dataGenerator, GatherDataEvent.DataGeneratorConfig dataGeneratorConfig, ExistingFileHelper existingFileHelper)
-
-
Method Details
-
getModContainer
-
getGenerator
-
getExistingFileHelper
-
includeServer
public boolean includeServer() -
includeClient
public boolean includeClient() -
includeDev
public boolean includeDev() -
includeReports
public boolean includeReports() -
validate
public boolean validate()
-