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 location) listResources(String path, Predicate<ResourceLocation> filter) listResourceStacks(String path, Predicate<ResourceLocation> filter) 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 path, Predicate<ResourceLocation> filter) -
listPacks
Stream<PackResources> listPacks()
-