Interface ResourceProvider
- All Known Subinterfaces:
 CloseableResourceManager,ResourceManager
- All Known Implementing Classes:
 FallbackResourceManager,GameRenderer.ResourceCache,MultiPackResourceManager,ReloadableResourceManager,ResourceManager.Empty
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceProviderfromMap(Map<ResourceLocation, Resource> p_251819_) getResource(ResourceLocation p_215592_) default ResourcegetResourceOrThrow(ResourceLocation p_215594_) default InputStreamopen(ResourceLocation p_215596_) default BufferedReaderopenAsReader(ResourceLocation p_215598_)  
- 
Method Details
- 
getResource
 - 
getResourceOrThrow
- Throws:
 FileNotFoundException
 - 
open
- Throws:
 IOException
 - 
openAsReader
- Throws:
 IOException
 - 
fromMap
 
 -