Package net.minecraft.server
Class ServerAdvancementManager
java.lang.Object
net.neoforged.neoforge.resource.ContextAwareReloadListener
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 static final com.google.gson.Gsonprivate static final org.slf4j.Loggerprivate final LootDataManagerprivate AdvancementTreeFields inherited from class net.neoforged.neoforge.resource.ContextAwareReloadListenerconditionContext, registryAccess
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidapply(Map<ResourceLocation, com.google.gson.JsonElement> p_136034_, ResourceManager p_136035_, ProfilerFiller p_136036_) get(ResourceLocation p_301079_) tree()private voidvalidate(ResourceLocation p_312696_, Advancement p_312110_) Methods inherited from class net.minecraft.server.packs.resources.SimpleJsonResourceReloadListenergetPreparedPath, prepare, scanDirectoryMethods inherited from class net.minecraft.server.packs.resources.SimplePreparableReloadListenerreloadMethods inherited from class net.neoforged.neoforge.resource.ContextAwareReloadListenerinjectContextMethods 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
 
- 
- 
Constructor Details- 
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>> 
 
- 
validate
- 
get
- 
tree
- 
getAllAdvancements
 
-