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 SummaryNested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListenerPreparableReloadListener.PreparationBarrier
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate Map<ResourceLocation,AdvancementHolder> private final ICondition.IContextprivate static final com.google.gson.Gsonprivate static final org.slf4j.Loggerprivate final LootDataManagerprivate AdvancementTree
- 
Constructor SummaryConstructorsConstructorDescriptionServerAdvancementManager(LootDataManager p_279237_) Deprecated.Forge: use constructor with context.ServerAdvancementManager(LootDataManager p_279237_, ICondition.IContext context) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidapply(Map<ResourceLocation, com.google.gson.JsonElement> p_136034_, ResourceManager p_136035_, ProfilerFiller p_136036_) get(ResourceLocation p_299615_) tree()Methods inherited from class net.minecraft.server.packs.resources.SimpleJsonResourceReloadListenergetPreparedPath, prepare, scanDirectoryMethods inherited from class net.minecraft.server.packs.resources.SimplePreparableReloadListenerreloadMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListenergetName
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
GSONprivate static final com.google.gson.Gson GSON
- 
advancements
- 
tree
- 
lootData
- 
context
 
- 
- 
Constructor Details- 
ServerAdvancementManagerDeprecated.Forge: use constructor with context.
- 
ServerAdvancementManager
 
- 
- 
Method Details- 
applyprotected void apply(Map<ResourceLocation, com.google.gson.JsonElement> p_136034_, ResourceManager p_136035_, ProfilerFiller p_136036_) - Specified by:
- applyin class- SimplePreparableReloadListener<Map<ResourceLocation,- com.google.gson.JsonElement>> 
 
- 
get
- 
tree
- 
getAllAdvancements
 
-