public abstract class JsonReloadListener extends ReloadListener<java.util.Map<ResourceLocation,com.google.gson.JsonObject>>
IFutureReloadListener.IStage
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
folder |
private com.google.gson.Gson |
gson |
private static int |
JSON_EXTENSION_LENGTH |
private static org.apache.logging.log4j.Logger |
LOGGER |
Constructor and Description |
---|
JsonReloadListener(com.google.gson.Gson p_i51536_1_,
java.lang.String p_i51536_2_) |
Modifier and Type | Method and Description |
---|---|
protected ResourceLocation |
getPreparedPath(ResourceLocation rl) |
protected java.util.Map<ResourceLocation,com.google.gson.JsonObject> |
prepare(IResourceManager resourceManagerIn,
IProfiler profilerIn) |
apply, reload
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_225594_i_
private static final org.apache.logging.log4j.Logger LOGGER
private static final int JSON_EXTENSION_LENGTH
private final com.google.gson.Gson gson
private final java.lang.String folder
public JsonReloadListener(com.google.gson.Gson p_i51536_1_, java.lang.String p_i51536_2_)
protected java.util.Map<ResourceLocation,com.google.gson.JsonObject> prepare(IResourceManager resourceManagerIn, IProfiler profilerIn)
prepare
in class ReloadListener<java.util.Map<ResourceLocation,com.google.gson.JsonObject>>
protected ResourceLocation getPreparedPath(ResourceLocation rl)