Package net.minecraft.resource
Class ProfilingResourceReloader
java.lang.Object
net.minecraft.resource.ResourceReloader<ProfilingResourceReloader.Summary>
net.minecraft.resource.ProfilingResourceReloader
- All Implemented Interfaces:
ResourceReloadMonitor
public class ProfilingResourceReloader extends ResourceReloader<ProfilingResourceReloader.Summary>
- Mappings:
Namespace Name official act
intermediary net/minecraft/class_4010
named net/minecraft/resource/ProfilingResourceReloader
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProfilingResourceReloader.Summary
Nested classes/interfaces inherited from class net.minecraft.resource.ResourceReloader
ResourceReloader.Factory<S>
-
Field Summary
Fields Modifier and Type Field Description private static Logger
LOGGER
private Stopwatch
reloadTimer
Fields inherited from class net.minecraft.resource.ResourceReloader
applyStageFuture, manager, prepareStageFuture
-
Constructor Summary
Constructors Constructor Description ProfilingResourceReloader(ResourceManager manager, List<ResourceReloadListener> listeners, Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> completableFuture)
-
Method Summary
Modifier and Type Method Description private void
finish(List<ProfilingResourceReloader.Summary> summaries)
Methods inherited from class net.minecraft.resource.ResourceReloader
create, getProgress, isApplyStageComplete, isPrepareStageComplete, throwExceptions, whenComplete
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official d
Lact;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/ProfilingResourceReloader;LOGGER:Lorg/apache/logging/log4j/Logger;
-
reloadTimer
- Mappings:
Namespace Name Mixin selector official e
Lact;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/ProfilingResourceReloader;reloadTimer:Lcom/google/common/base/Stopwatch;
-
-
Constructor Details
-
ProfilingResourceReloader
public ProfilingResourceReloader(ResourceManager manager, List<ResourceReloadListener> listeners, Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> completableFuture)- Mappings:
Namespace Name Mixin selector official <init>
Lact;<init>(Lacx;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/ProfilingResourceReloader;<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
Lact;a(Ljava/util/List;)V
intermediary method_18238
Lnet/minecraft/class_4010;method_18238(Ljava/util/List;)V
named finish
Lnet/minecraft/resource/ProfilingResourceReloader;finish(Ljava/util/List;)V
-