SimpleSynchronousResourceReloadListener

public interface SimpleSynchronousResourceReloadListener implements IdentifiableResourceReloadListener, SynchronousResourceReloader

A simplified version of the "resource reload listener" interface, hiding the peculiarities of the API and ensuring all data is loaded on the main thread.

Functions

getFabricDependencies
Link copied to clipboard
Collection<IdentifiergetFabricDependencies()
The identifiers of listeners this listener expects to have beenexecuted before itself.
getFabricId
Link copied to clipboard
abstract Identifier getFabricId()
The unique identifier of this listener.
getName
Link copied to clipboard
String getName()
reload
Link copied to clipboard
abstract void reload(ResourceManager manager)
abstract CompletableFuture<Voidreload(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor)

Sources

jvm source
Link copied to clipboard