Interface ResourceManager
- All Superinterfaces:
ResourceProvider
- All Known Subinterfaces:
CloseableResourceManager
- All Known Implementing Classes:
FallbackResourceManager
,MultiPackResourceManager
,ReloadableResourceManager
,ResourceManager.Empty
-
Nested Class Summary
-
Field Summary
Fields inherited from interface net.minecraft.server.packs.resources.ResourceProvider
EMPTY
-
Method Summary
Modifier and TypeMethodDescriptiongetResourceStack
(ResourceLocation p_215562_) listResources
(String p_215563_, Predicate<ResourceLocation> p_215564_) listResourceStacks
(String p_215565_, Predicate<ResourceLocation> p_215566_) Methods inherited from interface net.minecraft.server.packs.resources.ResourceProvider
getResource, getResourceOrThrow, open, openAsReader
-
Method Details
-
getNamespaces
-
getResourceStack
-
listResources
Map<ResourceLocation,Resource> listResources(String p_215563_, Predicate<ResourceLocation> p_215564_) -
listResourceStacks
Map<ResourceLocation,List<Resource>> listResourceStacks(String p_215565_, Predicate<ResourceLocation> p_215566_) -
listPacks
Stream<PackResources> listPacks()
-