Package net.minecraft.client.resources
Class ReloadListener<T>
- java.lang.Object
-
- net.minecraft.client.resources.ReloadListener<T>
-
- All Implemented Interfaces:
IFutureReloadListener
- Direct Known Subclasses:
FoliageColorReloadListener
,GPUWarning
,GrassColorReloadListener
,JsonReloadListener
,ModelManager
,SoundHandler
,Splashes
,SpriteUploader
public abstract class ReloadListener<T> extends java.lang.Object implements IFutureReloadListener
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.minecraft.resources.IFutureReloadListener
IFutureReloadListener.IStage
-
-
Constructor Summary
Constructors Constructor Description ReloadListener()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
apply(T p_212853_1_, IResourceManager p_212853_2_, IProfiler p_212853_3_)
protected abstract T
prepare(IResourceManager p_212854_1_, IProfiler p_212854_2_)
java.util.concurrent.CompletableFuture<java.lang.Void>
reload(IFutureReloadListener.IStage p_215226_1_, IResourceManager p_215226_2_, IProfiler p_215226_3_, IProfiler p_215226_4_, java.util.concurrent.Executor p_215226_5_, java.util.concurrent.Executor p_215226_6_)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.resources.IFutureReloadListener
getName
-
-
-
-
Method Detail
-
reload
public final java.util.concurrent.CompletableFuture<java.lang.Void> reload(IFutureReloadListener.IStage p_215226_1_, IResourceManager p_215226_2_, IProfiler p_215226_3_, IProfiler p_215226_4_, java.util.concurrent.Executor p_215226_5_, java.util.concurrent.Executor p_215226_6_)
- Specified by:
reload
in interfaceIFutureReloadListener
-
prepare
protected abstract T prepare(IResourceManager p_212854_1_, IProfiler p_212854_2_)
-
apply
protected abstract void apply(T p_212853_1_, IResourceManager p_212853_2_, IProfiler p_212853_3_)
-
-