Package net.minecraft.resource
Class ProfiledResourceReload
java.lang.Object
net.minecraft.resource.SimpleResourceReload<ProfiledResourceReload.Summary>
net.minecraft.resource.ProfiledResourceReload
- All Implemented Interfaces:
ResourceReload
An implementation of resource reload that includes an additional profiling
summary for each reloader.
- Mappings:
Namespace Name official adp
intermediary net/minecraft/class_4010
named net/minecraft/resource/ProfiledResourceReload
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The profiling summary for each reloader in the reload.Nested classes/interfaces inherited from class net.minecraft.resource.SimpleResourceReload
SimpleResourceReload.Factory<S>
-
Field Summary
Fields inherited from class net.minecraft.resource.SimpleResourceReload
applyStageFuture, manager, prepareStageFuture, waitingReloaders
-
Constructor Summary
ConstructorDescriptionProfiledResourceReload
(ResourceManager manager, List<ResourceReloader> reloaders, Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
finish
(List<ProfiledResourceReload.Summary> summaries) Methods inherited from class net.minecraft.resource.SimpleResourceReload
create, getProgress, isComplete, throwException, whenComplete
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official d
Ladp;d:Lorg/apache/logging/log4j/Logger;
intermediary field_17918
Lnet/minecraft/class_4010;field_17918:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/resource/ProfiledResourceReload;LOGGER:Lorg/apache/logging/log4j/Logger;
-
reloadTimer
- Mappings:
Namespace Name Mixin selector official e
Ladp;e:Lcom/google/common/base/Stopwatch;
intermediary field_17919
Lnet/minecraft/class_4010;field_17919:Lcom/google/common/base/Stopwatch;
named reloadTimer
Lnet/minecraft/resource/ProfiledResourceReload;reloadTimer:Lcom/google/common/base/Stopwatch;
-
-
Constructor Details
-
ProfiledResourceReload
public ProfiledResourceReload(ResourceManager manager, List<ResourceReloader> reloaders, Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage) - Mappings:
Namespace Name Mixin selector official <init>
Ladp;<init>(Ladt;Ljava/util/List;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;Ljava/util/concurrent/CompletableFuture;)V
intermediary <init>
Lnet/minecraft/class_4010;<init>(Lnet/minecraft/class_3300;Ljava/util/List;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;Ljava/util/concurrent/CompletableFuture;)V
named <init>
Lnet/minecraft/resource/ProfiledResourceReload;<init>(Lnet/minecraft/resource/ResourceManager;Ljava/util/List;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;Ljava/util/concurrent/CompletableFuture;)V
-
-
Method Details
-
finish
- Mappings:
Namespace Name Mixin selector official a
Ladp;a(Ljava/util/List;)V
intermediary method_18238
Lnet/minecraft/class_4010;method_18238(Ljava/util/List;)V
named finish
Lnet/minecraft/resource/ProfiledResourceReload;finish(Ljava/util/List;)V
-