Package net.minecraft.client.resource
Class SplashTextResourceSupplier
java.lang.Object
net.minecraft.resource.SinglePreparationResourceReloader<List<String>>
net.minecraft.client.resource.SplashTextResourceSupplier
- All Implemented Interfaces:
ResourceReloader
@Environment(CLIENT) public class SplashTextResourceSupplier extends SinglePreparationResourceReloader<List<String>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloader
ResourceReloader.Synchronizer -
Field Summary
Fields Modifier and Type Field Description private Sessionfield_18934private static RandomRANDOMprivate static IdentifierRESOURCE_IDprivate List<String>splashTexts -
Constructor Summary
Constructors Constructor Description SplashTextResourceSupplier(Session session) -
Method Summary
Modifier and Type Method Description protected voidapply(List<String> list, ResourceManager resourceManager, Profiler profiler)Handles the prepared intermediate object.Stringget()protected List<String>prepare(ResourceManager resourceManager, Profiler profiler)Prepares the intermediate object.Methods inherited from class net.minecraft.resource.SinglePreparationResourceReloader
reloadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resource.ResourceReloader
getName
-
Field Details
-
RESOURCE_ID
-
RANDOM
-
splashTexts
-
field_18934
-
-
Constructor Details
-
SplashTextResourceSupplier
-
-
Method Details
-
prepare
Description copied from class:SinglePreparationResourceReloaderPrepares the intermediate object.This method is called in the prepare executor in a reload.
- Specified by:
preparein classSinglePreparationResourceReloader<List<String>>- Parameters:
resourceManager- the resource managerprofiler- the prepare profiler- Returns:
- the prepared object
-
apply
Description copied from class:SinglePreparationResourceReloaderHandles the prepared intermediate object.This method is called in the apply executor, or the game engine, in a reload.
- Specified by:
applyin classSinglePreparationResourceReloader<List<String>>- Parameters:
list- the prepared objectresourceManager- the resource managerprofiler- the apply profiler
-
get
-