Package net.minecraft.resource
Interface ResourceManager
- All Known Subinterfaces:
ReloadableResourceManager
- All Known Implementing Classes:
NamespaceResourceManager,ReloadableResourceManagerImpl,ResourceManager.Empty
public interface ResourceManager
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classResourceManager.Empty -
Method Summary
Modifier and Type Method Description booleancontainsResource(Identifier id)Collection<Identifier>findResources(String resourceType, Predicate<String> pathPredicate)Set<String>getAllNamespaces()List<Resource>getAllResources(Identifier id)ResourcegetResource(Identifier id)Stream<ResourcePack>streamResourcePacks()
-
Method Details
-
getAllNamespaces
-
getResource
- Throws:
IOException
-
containsResource
-
getAllResources
-
findResources
-
streamResourcePacks
-