Package net.minecraft.resource
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloadListener
ResourceReloadListener.Synchronizer
-
Constructor Summary
Constructors Constructor Description SinglePreparationResourceReloadListener()
-
Method Summary
Modifier and Type Method Description protected abstract void
apply(T loader, ResourceManager manager, Profiler profiler)
protected abstract T
prepare(ResourceManager manager, Profiler profiler)
CompletableFuture<Void>
reload(ResourceReloadListener.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.resource.ResourceReloadListener
getName
-
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 interfaceResourceReloadListener
- 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
- 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
- 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
-