public class AdvancementProvider extends java.lang.Object implements IDataProvider
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<java.util.function.Consumer<java.util.function.Consumer<Advancement>>> |
advancements |
private DataGenerator |
generator |
private static com.google.gson.Gson |
GSON |
private static org.apache.logging.log4j.Logger |
LOGGER |
HASH_FUNCTION| Constructor and Description |
|---|
AdvancementProvider(DataGenerator generatorIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
act(DirectoryCache cache) |
java.lang.String |
getName() |
private static java.nio.file.Path |
getPath(java.nio.file.Path pathIn,
Advancement advancementIn) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsaveprivate static final org.apache.logging.log4j.Logger LOGGER
private static final com.google.gson.Gson GSON
private final DataGenerator generator
private final java.util.List<java.util.function.Consumer<java.util.function.Consumer<Advancement>>> advancements
public AdvancementProvider(DataGenerator generatorIn)
public void act(DirectoryCache cache) throws java.io.IOException
act in interface IDataProviderjava.io.IOExceptionprivate static java.nio.file.Path getPath(java.nio.file.Path pathIn,
Advancement advancementIn)
public java.lang.String getName()
getName in interface IDataProvider