Class ServerAdvancementManager
- All Implemented Interfaces:
PreparableReloadListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface PreparableReloadListener
PreparableReloadListener.PreparationBarrier, PreparableReloadListener.SharedState, PreparableReloadListener.StateKey<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Map<Identifier, AdvancementHolder> private static final org.slf4j.Loggerprivate final HolderLookup.Providerprivate AdvancementTree -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapply(Map<Identifier, Advancement> preparations, ResourceManager manager, ProfilerFiller profiler) @Nullable AdvancementHolderget(Identifier id) tree()private voidvalidate(Identifier id, Advancement advancement) Methods inherited from class SimpleJsonResourceReloadListener
getPreparedPath, prepare, scanDirectory, scanDirectory, scanDirectoryWithOptionalValuesMethods inherited from class SimplePreparableReloadListener
reloadMethods inherited from class ContextAwareReloadListener
getContext, getRegistryLookup, injectContext, makeConditionalOps, makeConditionalOpsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PreparableReloadListener
getName, prepareSharedState
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
advancements
-
tree
-
registries
-
-
Constructor Details
-
ServerAdvancementManager
-
-
Method Details
-
apply
protected void apply(Map<Identifier, Advancement> preparations, ResourceManager manager, ProfilerFiller profiler) - Specified by:
applyin classSimplePreparableReloadListener<Map<Identifier, Advancement>>
-
validate
-
get
-
tree
-
getAllAdvancements
-