Package net.minecraft.server
Class ServerAdvancementManager
java.lang.Object
net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<ResourceLocation,com.google.gson.JsonElement>>
net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener
net.minecraft.server.ServerAdvancementManager
- All Implemented Interfaces:
PreparableReloadListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
Field Summary
Modifier and TypeFieldDescriptionprivate AdvancementList
private static com.google.gson.Gson
private static org.apache.logging.log4j.Logger
private PredicateManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
apply(Map<ResourceLocation,com.google.gson.JsonElement> p_136034_, ResourceManager p_136035_, ProfilerFiller p_136036_)
getAdvancement(ResourceLocation p_136042_)
Methods inherited from class net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener
getPreparedPath, prepare
Methods inherited from class net.minecraft.server.packs.resources.SimplePreparableReloadListener
reload
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getName
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
GSON
private static final com.google.gson.Gson GSON -
advancements
-
predicateManager
-
-
Constructor Details
-
ServerAdvancementManager
-
-
Method Details
-
apply
protected void apply(Map<ResourceLocation,com.google.gson.JsonElement> p_136034_, ResourceManager p_136035_, ProfilerFiller p_136036_)- Specified by:
apply
in classSimplePreparableReloadListener<Map<ResourceLocation,com.google.gson.JsonElement>>
-
getAdvancement
-
getAllAdvancements
-