Class GatherDataEvent
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.fml.event.lifecycle.GatherDataEvent
-
- All Implemented Interfaces:
IModBusEvent
public class GatherDataEvent extends net.minecraftforge.eventbus.api.Event implements IModBusEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GatherDataEvent.DataGeneratorConfig
-
Field Summary
Fields Modifier and Type Field Description private GatherDataEvent.DataGeneratorConfig
config
private DataGenerator
dataGenerator
private ExistingFileHelper
existingFileHelper
private ModContainer
modContainer
-
Constructor Summary
Constructors Constructor Description GatherDataEvent(ModContainer mc, DataGenerator dataGenerator, GatherDataEvent.DataGeneratorConfig dataGeneratorConfig, ExistingFileHelper existingFileHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExistingFileHelper
getExistingFileHelper()
DataGenerator
getGenerator()
ModContainer
getModContainer()
boolean
includeClient()
boolean
includeDev()
boolean
includeReports()
boolean
includeServer()
boolean
validate()
-
-
-
Field Detail
-
dataGenerator
private final DataGenerator dataGenerator
-
config
private final GatherDataEvent.DataGeneratorConfig config
-
existingFileHelper
private final ExistingFileHelper existingFileHelper
-
modContainer
private final ModContainer modContainer
-
-
Constructor Detail
-
GatherDataEvent
public GatherDataEvent(ModContainer mc, DataGenerator dataGenerator, GatherDataEvent.DataGeneratorConfig dataGeneratorConfig, ExistingFileHelper existingFileHelper)
-
-
Method Detail
-
getModContainer
public ModContainer getModContainer()
-
getGenerator
public DataGenerator getGenerator()
-
getExistingFileHelper
public ExistingFileHelper getExistingFileHelper()
-
includeServer
public boolean includeServer()
-
includeClient
public boolean includeClient()
-
includeDev
public boolean includeDev()
-
includeReports
public boolean includeReports()
-
validate
public boolean validate()
-
-