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 named net/minecraft/resource/ProfiledResourceReloadintermediary net/minecraft/class_4010official auk
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordThe profiling summary for each reloader in the reload.Nested classes/interfaces inherited from class net.minecraft.resource.SimpleResourceReload
SimpleResourceReload.Factory<S> -
Field Summary
FieldsFields inherited from class net.minecraft.resource.SimpleResourceReload
applyStageFuture, prepareStageFuture, waitingReloaders -
Constructor Summary
ConstructorsConstructorDescriptionProfiledResourceReload(ResourceManager manager, List<ResourceReloader> reloaders, Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage) -
Method Summary
Modifier and TypeMethodDescriptionprivate List<ProfiledResourceReload.Summary> finish(List<ProfiledResourceReload.Summary> summaries) private static Executormethod_64141(Executor executor, AtomicLong atomicLong, String string) Methods inherited from class net.minecraft.resource.SimpleResourceReload
create, getProgress, start, whenCompleteMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resource.ResourceReload
isComplete, throwException
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/resource/ProfiledResourceReload;LOGGER:Lorg/slf4j/Logger;intermediary field_17918Lnet/minecraft/class_4010;field_17918:Lorg/slf4j/Logger;official cLauk;c:Lorg/slf4j/Logger;
-
reloadTimer
- Mappings:
Namespace Name Mixin selector named reloadTimerLnet/minecraft/resource/ProfiledResourceReload;reloadTimer:Lcom/google/common/base/Stopwatch;intermediary field_17919Lnet/minecraft/class_4010;field_17919:Lcom/google/common/base/Stopwatch;official dLauk;d: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 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;)Vintermediary <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;)Vofficial <init>Lauk;<init>(Laup;Ljava/util/List;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;Ljava/util/concurrent/CompletableFuture;)V
-
-
Method Details
-
method_64141
- Mappings:
Namespace Name Mixin selector named method_64141Lnet/minecraft/resource/ProfiledResourceReload;method_64141(Ljava/util/concurrent/Executor;Ljava/util/concurrent/atomic/AtomicLong;Ljava/lang/String;)Ljava/util/concurrent/Executor;intermediary method_64141Lnet/minecraft/class_4010;method_64141(Ljava/util/concurrent/Executor;Ljava/util/concurrent/atomic/AtomicLong;Ljava/lang/String;)Ljava/util/concurrent/Executor;official aLauk;a(Ljava/util/concurrent/Executor;Ljava/util/concurrent/atomic/AtomicLong;Ljava/lang/String;)Ljava/util/concurrent/Executor;
-
finish
- Mappings:
Namespace Name Mixin selector named finishLnet/minecraft/resource/ProfiledResourceReload;finish(Ljava/util/List;)Ljava/util/List;intermediary method_18238Lnet/minecraft/class_4010;method_18238(Ljava/util/List;)Ljava/util/List;official aLauk;a(Ljava/util/List;)Ljava/util/List;
-