Package net.minecraft.data
Class DataGenerator
java.lang.Object
net.minecraft.data.DataGenerator
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private static final org.slf4j.Logger
(package private) final Map
<String, DataProvider> private final Map
<String, DataProvider> private final Path
private final PackOutput
private final WorldVersion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends DataProvider>
TaddProvider
(boolean run, DataProvider.Factory<T> factory) <T extends DataProvider>
TaddProvider
(boolean run, T provider) getBuiltinDatapack
(boolean p_253826_, String p_254134_) getPackOutput
(String path) getVanillaPack
(boolean p_254422_) void
run()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
rootOutputFolder
-
vanillaPackOutput
-
allProviderIds
-
providersToRun
-
version
-
alwaysGenerate
private final boolean alwaysGenerate -
providersView
-
-
Constructor Details
-
DataGenerator
-
-
Method Details
-
run
- Throws:
IOException
-
getVanillaPack
-
getBuiltinDatapack
-
getProvidersView
-
getPackOutput
-
getPackOutput
-
addProvider
-
addProvider
-