ISelectiveResourceReloadListener
, which selectively allows
individual resource types being reloaded should rather be used where possible.@Deprecated public interface IResourceManagerReloadListener extends IFutureReloadListener
IFutureReloadListener.IStage
Modifier and Type | Method and Description |
---|---|
default IResourceType |
getResourceType()
Deprecated.
|
void |
onResourceManagerReload(IResourceManager resourceManager)
Deprecated.
|
default 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)
Deprecated.
|
func_225594_i_
default 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
void onResourceManagerReload(IResourceManager resourceManager)
@Nullable default IResourceType getResourceType()