public interface MapResourcePackArchive
Modifier and Type | Method and Description |
---|---|
void |
load(boolean lazy)
Loads the resource pack archive, making it available for use
|
InputStream |
openFileStream(String path)
Attempts to find and open an input stream for a file inside the archive
|
void load(boolean lazy)
lazy
- whether this is a lazy-load call. Allows logging of warnings if it can take a while.InputStream openFileStream(String path) throws IOException
path
- of the file (relative)IOException
- when an error occurs trying to access the fileCopyright © 2019. All rights reserved.