Class ProfiledResourceReload

All Implemented Interfaces:
ResourceReload

public class ProfiledResourceReload extends SimpleResourceReload<ProfiledResourceReload.Summary>
An implementation of resource reload that includes an additional profiling summary for each reloader.
Mappings:
Namespace Name
named net/minecraft/resource/ProfiledResourceReload
intermediary net/minecraft/class_4010
official avq
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/resource/ProfiledResourceReload;LOGGER:Lorg/slf4j/Logger;
      intermediary field_17918 Lnet/minecraft/class_4010;field_17918:Lorg/slf4j/Logger;
      official c Lavq;c:Lorg/slf4j/Logger;
    • reloadTimer

      private final Stopwatch reloadTimer
      Mappings:
      Namespace Name Mixin selector
      named reloadTimer Lnet/minecraft/resource/ProfiledResourceReload;reloadTimer:Lcom/google/common/base/Stopwatch;
      intermediary field_17919 Lnet/minecraft/class_4010;field_17919:Lcom/google/common/base/Stopwatch;
      official d Lavq;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;)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
      official <init> Lavq;<init>(Lavv;Ljava/util/List;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;Ljava/util/concurrent/CompletableFuture;)V
  • Method Details

    • method_64141

      private static Executor method_64141(Executor executor, AtomicLong atomicLong, String string)
      Mappings:
      Namespace Name Mixin selector
      named method_64141 Lnet/minecraft/resource/ProfiledResourceReload;method_64141(Ljava/util/concurrent/Executor;Ljava/util/concurrent/atomic/AtomicLong;Ljava/lang/String;)Ljava/util/concurrent/Executor;
      intermediary method_64141 Lnet/minecraft/class_4010;method_64141(Ljava/util/concurrent/Executor;Ljava/util/concurrent/atomic/AtomicLong;Ljava/lang/String;)Ljava/util/concurrent/Executor;
      official a Lavq;a(Ljava/util/concurrent/Executor;Ljava/util/concurrent/atomic/AtomicLong;Ljava/lang/String;)Ljava/util/concurrent/Executor;
    • finish

      Mappings:
      Namespace Name Mixin selector
      named finish Lnet/minecraft/resource/ProfiledResourceReload;finish(Ljava/util/List;)Ljava/util/List;
      intermediary method_18238 Lnet/minecraft/class_4010;method_18238(Ljava/util/List;)Ljava/util/List;
      official a Lavq;a(Ljava/util/List;)Ljava/util/List;