public abstract class AbstractTagProvider<T> extends Object implements DataProvider
| Modifier and Type | Field and Description |
|---|---|
private static Gson |
GSON |
private static Logger |
LOGGER |
protected Registry<T> |
registry |
protected DataGenerator |
root |
protected Map<Identifier,Tag.ObjectBuilder<T>> |
tagBuilders |
SHA1| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTagProvider(DataGenerator root,
Registry<T> registry) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
configure() |
protected Tag.ObjectBuilder<T> |
getOrCreateTagBuilder(Tag.Identified<T> identified) |
protected abstract Path |
getOutput(Identifier identifier) |
protected Tag.ObjectBuilder<T> |
method_27047(Identifier identifier) |
void |
run(DataCache cache) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, writeToPathprivate static final Logger LOGGER
private static final Gson GSON
protected final DataGenerator root
protected final Map<Identifier,Tag.ObjectBuilder<T>> tagBuilders
protected AbstractTagProvider(DataGenerator root, Registry<T> registry)
protected abstract void configure()
public void run(DataCache cache)
run in interface DataProviderprotected abstract Path getOutput(Identifier identifier)
protected Tag.ObjectBuilder<T> getOrCreateTagBuilder(Tag.Identified<T> identified)
protected Tag.ObjectBuilder<T> method_27047(Identifier identifier)