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
FieldsModifier and TypeFieldDescriptionprivate Map<ResourceLocation,AdvancementHolder> private final ICondition.IContextprivate static final com.google.gson.Gsonprivate static final org.slf4j.Loggerprivate final LootDataManagerprivate AdvancementTree - 
Constructor Summary
ConstructorsConstructorDescriptionServerAdvancementManager(LootDataManager p_279237_) Deprecated.Forge: use constructor with context.ServerAdvancementManager(LootDataManager p_279237_, ICondition.IContext context)  - 
Method Summary
Modifier 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.SimpleJsonResourceReloadListener
getPreparedPath, prepare, scanDirectoryMethods inherited from class net.minecraft.server.packs.resources.SimplePreparableReloadListener
reloadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getName 
- 
Field Details
- 
LOGGER
private static final org.slf4j.Logger LOGGER - 
GSON
private static final com.google.gson.Gson GSON - 
advancements
 - 
tree
 - 
lootData
 - 
context
 
 - 
 - 
Constructor Details
- 
ServerAdvancementManager
Deprecated.Forge: use constructor with context. - 
ServerAdvancementManager
 
 - 
 - 
Method Details
- 
apply
protected void apply(Map<ResourceLocation, com.google.gson.JsonElement> p_136034_, ResourceManager p_136035_, ProfilerFiller p_136036_) - Specified by:
 applyin classSimplePreparableReloadListener<Map<ResourceLocation,com.google.gson.JsonElement>> 
 - 
get
 - 
tree
 - 
getAllAdvancements
 
 -