public abstract class ReloadListener<T> extends java.lang.Object implements IFutureReloadListener
IFutureReloadListener.IStage
Constructor and Description |
---|
ReloadListener() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
apply(T objectIn,
IResourceManager resourceManagerIn,
IProfiler profilerIn) |
protected abstract T |
prepare(IResourceManager resourceManagerIn,
IProfiler profilerIn) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
reload(IFutureReloadListener.IStage stage,
IResourceManager resourceManager,
IProfiler preparationsProfiler,
IProfiler reloadProfiler,
java.util.concurrent.Executor backgroundExecutor,
java.util.concurrent.Executor gameExecutor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_225594_i_
public final java.util.concurrent.CompletableFuture<java.lang.Void> reload(IFutureReloadListener.IStage stage, IResourceManager resourceManager, IProfiler preparationsProfiler, IProfiler reloadProfiler, java.util.concurrent.Executor backgroundExecutor, java.util.concurrent.Executor gameExecutor)
reload
in interface IFutureReloadListener
protected abstract T prepare(IResourceManager resourceManagerIn, IProfiler profilerIn)
protected abstract void apply(T objectIn, IResourceManager resourceManagerIn, IProfiler profilerIn)