public class NbtProvider extends Object implements DataProvider
Modifier and Type | Field and Description |
---|---|
private static Logger |
LOGGER |
private DataGenerator |
root |
SHA1
Constructor and Description |
---|
NbtProvider(DataGenerator dataGenerator) |
Modifier and Type | Method and Description |
---|---|
static Path |
convertNbtToSnbt(Path inputPath,
String location,
Path outputPath) |
private String |
getLocation(Path targetPath,
Path rootPath) |
String |
getName() |
void |
run(DataCache cache) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeToPath
private static final Logger LOGGER
private final DataGenerator root
public NbtProvider(DataGenerator dataGenerator)
public void run(DataCache cache) throws IOException
run
in interface DataProvider
IOException
public String getName()
getName
in interface DataProvider