Package net.minecraft.data
Class DataGenerator
- java.lang.Object
-
- net.minecraft.data.DataGenerator
-
public class DataGenerator extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Collection<java.nio.file.Path>
inputFolders
private static org.apache.logging.log4j.Logger
LOGGER
private java.nio.file.Path
outputFolder
private java.util.List<IDataProvider>
providers
private java.util.List<IDataProvider>
providerView
-
Constructor Summary
Constructors Constructor Description DataGenerator(java.nio.file.Path p_i48266_1_, java.util.Collection<java.nio.file.Path> p_i48266_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInput(java.nio.file.Path value)
void
addProvider(IDataProvider p_200390_1_)
java.util.Collection<java.nio.file.Path>
getInputFolders()
java.nio.file.Path
getOutputFolder()
java.util.List<IDataProvider>
getProviders()
void
run()
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
inputFolders
private final java.util.Collection<java.nio.file.Path> inputFolders
-
outputFolder
private final java.nio.file.Path outputFolder
-
providers
private final java.util.List<IDataProvider> providers
-
providerView
private final java.util.List<IDataProvider> providerView
-
-
Method Detail
-
getInputFolders
public java.util.Collection<java.nio.file.Path> getInputFolders()
-
getOutputFolder
public java.nio.file.Path getOutputFolder()
-
run
public void run() throws java.io.IOException
- Throws:
java.io.IOException
-
addProvider
public void addProvider(IDataProvider p_200390_1_)
-
getProviders
public java.util.List<IDataProvider> getProviders()
-
addInput
public void addInput(java.nio.file.Path value)
-
-