mirror of https://github.com/FabricMC/yarn.git
28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
CLASS net/minecraft/class_4080 net/minecraft/resource/SinglePreparationResourceReloader
|
|
COMMENT A base resource reloader implementation that prepares an object in a
|
|
COMMENT single call (as opposed to in multiple concurrent tasks) and handles
|
|
COMMENT the prepared object in the apply stage.
|
|
COMMENT
|
|
COMMENT @param <T> the intermediate object type
|
|
METHOD method_18788 apply (Ljava/lang/Object;Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)V
|
|
COMMENT Handles the prepared intermediate object.
|
|
COMMENT
|
|
COMMENT <p>This method is called in the apply executor, or the game engine, in a
|
|
COMMENT reload.
|
|
ARG 1 prepared
|
|
COMMENT the prepared object
|
|
ARG 2 manager
|
|
COMMENT the resource manager
|
|
ARG 3 profiler
|
|
COMMENT the apply profiler
|
|
METHOD method_18789 prepare (Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)Ljava/lang/Object;
|
|
COMMENT Prepares the intermediate object.
|
|
COMMENT
|
|
COMMENT <p>This method is called in the prepare executor in a reload.
|
|
COMMENT
|
|
COMMENT @return the prepared object
|
|
ARG 1 manager
|
|
COMMENT the resource manager
|
|
ARG 2 profiler
|
|
COMMENT the prepare profiler
|