Package net.minecraft.resources
Interface IReloadableResourceManager
- All Superinterfaces:
AutoCloseable
,IResourceManager
- All Known Implementing Classes:
SimpleReloadableResourceManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resources.IResourceManager
IResourceManager.Instance
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
createFullReload
(Executor p_219537_1_, Executor p_219537_2_, CompletableFuture<Unit> p_219537_3_, List<IResourcePack> p_219537_4_) void
registerReloadListener
(IFutureReloadListener p_219534_1_) default CompletableFuture<Unit>
reload
(Executor p_219536_1_, Executor p_219536_2_, List<IResourcePack> p_219536_3_, CompletableFuture<Unit> p_219536_4_) Methods inherited from interface net.minecraft.resources.IResourceManager
getNamespaces, getResource, getResources, hasResource, listPacks, listResources
-
Method Details
-
reload
default CompletableFuture<Unit> reload(Executor p_219536_1_, Executor p_219536_2_, List<IResourcePack> p_219536_3_, CompletableFuture<Unit> p_219536_4_) -
createFullReload
IAsyncReloader createFullReload(Executor p_219537_1_, Executor p_219537_2_, CompletableFuture<Unit> p_219537_3_, List<IResourcePack> p_219537_4_) -
registerReloadListener
-
close
void close()- Specified by:
close
in interfaceAutoCloseable
-