Package net.minecraft.data
Class DataGenerator
java.lang.Object
net.minecraft.data.DataGenerator
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<DataProvider>
private final boolean
private final Collection<Path>
private static final org.slf4j.Logger
private final Path
private final List<DataProvider>
private final List<DataProvider>
private final WorldVersion
-
Constructor Summary
ConstructorDescriptionDataGenerator
(Path p_236030_, Collection<Path> p_236031_, WorldVersion p_236032_, boolean p_236033_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addProvider
(boolean p_236040_, DataProvider p_236041_) createPathProvider
(DataGenerator.Target p_236037_, String p_236038_) getOutputFolder
(DataGenerator.Target p_236035_) void
run()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
inputFolders
-
outputFolder
-
allProviders
-
providersToRun
-
version
-
alwaysGenerate
private final boolean alwaysGenerate -
providerView
-
-
Constructor Details
-
DataGenerator
public DataGenerator(Path p_236030_, Collection<Path> p_236031_, WorldVersion p_236032_, boolean p_236033_)
-
-
Method Details
-
getInputFolders
-
getOutputFolder
-
getOutputFolder
-
run
- Throws:
IOException
-
addProvider
-
createPathProvider
public DataGenerator.PathProvider createPathProvider(DataGenerator.Target p_236037_, String p_236038_) -
getProviders
-
addInput
-