Class SplashManager
java.lang.Object
net.neoforged.neoforge.resource.ContextAwareReloadListener
net.minecraft.server.packs.resources.SimplePreparableReloadListener<List<Component>>
net.minecraft.client.resources.SplashManager
- 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 TypeFieldDescriptionstatic final Componentprivate static final Stylestatic final Componentstatic final Componentprivate static final RandomSourcestatic final Identifierprivate final User -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapply(List<Component> preparations, ResourceManager manager, ProfilerFiller profiler) @Nullable SplashRendererstatic ComponentliteralSplash(String text) prepare(ResourceManager manager, ProfilerFiller profiler) Performs any reloading that can be done off-thread, such as file IOMethods 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
-
DEFAULT_STYLE
-
CHRISTMAS
-
NEW_YEAR
-
HALLOWEEN
-
SPLASHES_LOCATION
-
RANDOM
-
splashes
-
user
-
-
Constructor Details
-
SplashManager
-
-
Method Details
-
literalSplash
-
prepare
Performs any reloading that can be done off-thread, such as file IO- Specified by:
preparein classSimplePreparableReloadListener<List<Component>>
-
apply
protected void apply(List<Component> preparations, ResourceManager manager, ProfilerFiller profiler) - Specified by:
applyin classSimplePreparableReloadListener<List<Component>>
-
getSplash
-