Package net.minecraftforge.data.event
Class GatherDataEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.data.event.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, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
dataGenerator
-
config
-
existingFileHelper
-
modContainer
-
-
Constructor Details
-
GatherDataEvent
public GatherDataEvent(ModContainer mc, DataGenerator dataGenerator, GatherDataEvent.DataGeneratorConfig dataGeneratorConfig, ExistingFileHelper existingFileHelper)
-
-
Method Details
-
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()
-