public class AdvancementManager extends JsonReloadListener
IFutureReloadListener.IStage
Modifier and Type | Field and Description |
---|---|
private AdvancementList |
advancementList |
private static com.google.gson.Gson |
GSON |
private static org.apache.logging.log4j.Logger |
LOGGER |
Constructor and Description |
---|
AdvancementManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
apply(java.util.Map<ResourceLocation,com.google.gson.JsonObject> objectIn,
IResourceManager resourceManagerIn,
IProfiler profilerIn) |
Advancement |
getAdvancement(ResourceLocation id) |
java.util.Collection<Advancement> |
getAllAdvancements() |
getPreparedPath, prepare
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 com.google.gson.Gson GSON
private AdvancementList advancementList
protected void apply(java.util.Map<ResourceLocation,com.google.gson.JsonObject> objectIn, IResourceManager resourceManagerIn, IProfiler profilerIn)
apply
in class ReloadListener<java.util.Map<ResourceLocation,com.google.gson.JsonObject>>
@Nullable public Advancement getAdvancement(ResourceLocation id)
public java.util.Collection<Advancement> getAllAdvancements()