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