Interface ReloadableResourceManager

All Superinterfaces:
AutoCloseable, ResourceManager
All Known Implementing Classes:
ReloadableResourceManagerImpl

public interface ReloadableResourceManager
extends ResourceManager, AutoCloseable
Mappings:
Namespace Name
official acv
intermediary net/minecraft/class_3296
named net/minecraft/resource/ReloadableResourceManager
  • Method Details

    • beginReload

      default CompletableFuture<Unit> beginReload​(Executor prepareExecutor, Executor applyExecutor, List<ResourcePack> packs, CompletableFuture<Unit> initialStage)
      Mappings:
      Namespace Name Mixin selector
      official a Lacv;a(Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;Ljava/util/List;Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_14478 Lnet/minecraft/class_3296;method_14478(Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;Ljava/util/List;Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;
      named beginReload Lnet/minecraft/resource/ReloadableResourceManager;beginReload(Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;Ljava/util/List;Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;
    • beginMonitoredReload

      ResourceReloadMonitor beginMonitoredReload​(Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage, List<ResourcePack> packs)
      Mappings:
      Namespace Name Mixin selector
      official a Lacv;a(Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;Ljava/util/concurrent/CompletableFuture;Ljava/util/List;)Lacu;
      intermediary method_18232 Lnet/minecraft/class_3296;method_18232(Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;Ljava/util/concurrent/CompletableFuture;Ljava/util/List;)Lnet/minecraft/class_4011;
      named beginMonitoredReload Lnet/minecraft/resource/ReloadableResourceManager;beginMonitoredReload(Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;Ljava/util/concurrent/CompletableFuture;Ljava/util/List;)Lnet/minecraft/resource/ResourceReloadMonitor;
    • registerListener

      void registerListener​(ResourceReloadListener listener)
      Mappings:
      Namespace Name Mixin selector
      official a Lacv;a(Lacs;)V
      intermediary method_14477 Lnet/minecraft/class_3296;method_14477(Lnet/minecraft/class_3302;)V
      named registerListener Lnet/minecraft/resource/ReloadableResourceManager;registerListener(Lnet/minecraft/resource/ResourceReloadListener;)V
    • close

      void close()
      Specified by:
      close in interface AutoCloseable
      Mappings:
      Namespace Name Mixin selector
      official close Lacv;close()V
      intermediary close Lnet/minecraft/class_3296;close()V
      named close Lnet/minecraft/resource/ReloadableResourceManager;close()V