Interface ResourceProvider
- All Known Subinterfaces:
CloseableResourceManager
,ResourceManager
- All Known Implementing Classes:
FallbackResourceManager
,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 TypeMethodDescriptiongetResource
(ResourceLocation p_215592_) default Resource
getResourceOrThrow
(ResourceLocation p_215594_) default InputStream
open
(ResourceLocation p_215596_) default BufferedReader
openAsReader
(ResourceLocation p_215598_)
-
Method Details
-
getResource
-
getResourceOrThrow
- Throws:
FileNotFoundException
-
open
- Throws:
IOException
-
openAsReader
- Throws:
IOException
-