public static class GatherDataEvent.DataGeneratorConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
client |
private boolean |
dev |
private boolean |
flat |
private java.util.List<DataGenerator> |
generators |
private java.util.Collection<java.nio.file.Path> |
inputs |
private java.util.Set<java.lang.String> |
mods |
private java.nio.file.Path |
path |
private boolean |
reports |
private boolean |
server |
private boolean |
validate |
Constructor and Description |
---|
DataGeneratorConfig(java.util.Set<java.lang.String> mods,
java.nio.file.Path path,
java.util.Collection<java.nio.file.Path> inputs,
boolean server,
boolean client,
boolean dev,
boolean reports,
boolean validate)
Deprecated.
|
DataGeneratorConfig(java.util.Set<java.lang.String> mods,
java.nio.file.Path path,
java.util.Collection<java.nio.file.Path> inputs,
boolean server,
boolean client,
boolean dev,
boolean reports,
boolean validate,
boolean flat) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getMods() |
boolean |
isFlat() |
DataGenerator |
makeGenerator(java.util.function.Function<java.nio.file.Path,java.nio.file.Path> pathEnhancer,
boolean shouldExecute) |
void |
runAll() |
private final java.util.Set<java.lang.String> mods
private final java.nio.file.Path path
private final java.util.Collection<java.nio.file.Path> inputs
private final boolean server
private final boolean client
private final boolean dev
private final boolean reports
private final boolean validate
private final boolean flat
private java.util.List<DataGenerator> generators
@Deprecated public DataGeneratorConfig(java.util.Set<java.lang.String> mods, java.nio.file.Path path, java.util.Collection<java.nio.file.Path> inputs, boolean server, boolean client, boolean dev, boolean reports, boolean validate)
public DataGeneratorConfig(java.util.Set<java.lang.String> mods, java.nio.file.Path path, java.util.Collection<java.nio.file.Path> inputs, boolean server, boolean client, boolean dev, boolean reports, boolean validate, boolean flat)
public java.util.Set<java.lang.String> getMods()
public boolean isFlat()
public DataGenerator makeGenerator(java.util.function.Function<java.nio.file.Path,java.nio.file.Path> pathEnhancer, boolean shouldExecute)
public void runAll()