public class AdvancementsProvider extends Object implements DataProvider
Modifier and Type | Field and Description |
---|---|
private static Gson |
GSON |
private static Logger |
LOGGER |
private DataGenerator |
root |
private List<Consumer<Consumer<Advancement>>> |
tabGenerators |
SHA1
Constructor and Description |
---|
AdvancementsProvider(DataGenerator root) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
private static Path |
getOutput(Path rootOutput,
Advancement advancement) |
void |
run(DataCache cache) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeToPath
private static final Logger LOGGER
private static final Gson GSON
private final DataGenerator root
private final List<Consumer<Consumer<Advancement>>> tabGenerators
public AdvancementsProvider(DataGenerator root)
public void run(DataCache cache) throws IOException
run
in interface DataProvider
IOException
private static Path getOutput(Path rootOutput, Advancement advancement)
public String getName()
getName
in interface DataProvider