Class SinglePreparationResourceReloadListener<T>

java.lang.Object
net.minecraft.resource.SinglePreparationResourceReloadListener<T>
All Implemented Interfaces:
ResourceReloadListener
Direct Known Subclasses:
BakedModelManager, FoliageColormapResourceSupplier, GrassColormapResourceSupplier, JsonDataLoader, SoundManager, SplashTextResourceSupplier, SpriteAtlasHolder, VideoWarningManager

public abstract class SinglePreparationResourceReloadListener<T>
extends Object
implements ResourceReloadListener
Mappings:
Namespace Name
official ada
intermediary net/minecraft/class_4080
named net/minecraft/resource/SinglePreparationResourceReloadListener
  • Constructor Details

    • SinglePreparationResourceReloadListener

      public SinglePreparationResourceReloadListener()
  • Method Details

    • reload

      public final CompletableFuture<Void> reload​(ResourceReloadListener.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor)
      Specified by:
      reload in interface ResourceReloadListener
      Mappings:
      Namespace Name Mixin selector
      official a Lacs;a(Lacs$a;Lacx;Laos;Laos;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_25931 Lnet/minecraft/class_3302;method_25931(Lnet/minecraft/class_3302$class_4045;Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;Lnet/minecraft/class_3695;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
      named reload Lnet/minecraft/resource/ResourceReloadListener;reload(Lnet/minecraft/resource/ResourceReloadListener$Synchronizer;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;Lnet/minecraft/util/profiler/Profiler;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
    • prepare

      protected abstract T prepare​(ResourceManager manager, Profiler profiler)
      Mappings:
      Namespace Name Mixin selector
      official b Lada;b(Lacx;Laos;)Ljava/lang/Object;
      intermediary method_18789 Lnet/minecraft/class_4080;method_18789(Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)Ljava/lang/Object;
      named prepare Lnet/minecraft/resource/SinglePreparationResourceReloadListener;prepare(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)Ljava/lang/Object;
    • apply

      protected abstract void apply​(T loader, ResourceManager manager, Profiler profiler)
      Mappings:
      Namespace Name Mixin selector
      official a Lada;a(Ljava/lang/Object;Lacx;Laos;)V
      intermediary method_18788 Lnet/minecraft/class_4080;method_18788(Ljava/lang/Object;Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)V
      named apply Lnet/minecraft/resource/SinglePreparationResourceReloadListener;apply(Ljava/lang/Object;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)V