Class WaypointStyleManager
java.lang.Object
net.neoforged.neoforge.resource.ContextAwareReloadListener
net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<Identifier, WaypointStyle>>
net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener<WaypointStyle>
net.minecraft.client.resources.WaypointStyleManager
- 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 static final FileToIdConverterprivate static final WaypointStyleprivate Map<ResourceKey<WaypointStyleAsset>, WaypointStyle> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapply(Map<Identifier, WaypointStyle> preparations, ResourceManager manager, ProfilerFiller profiler) 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
-
ASSET_LISTER
-
MISSING
-
waypointStyles
-
-
Constructor Details
-
WaypointStyleManager
public WaypointStyleManager()
-
-
Method Details
-
apply
protected void apply(Map<Identifier, WaypointStyle> preparations, ResourceManager manager, ProfilerFiller profiler) - Specified by:
applyin classSimplePreparableReloadListener<Map<Identifier, WaypointStyle>>
-
get
-