public interface Resource extends Closeable
Modifier and Type | Method and Description |
---|---|
Identifier |
getId() |
InputStream |
getInputStream() |
<T> T |
getMetadata(ResourceMetadataReader<T> metaReader) |
String |
getResourcePackName() |
@Environment(value=CLIENT) Identifier getId()
InputStream getInputStream()
@Environment(value=CLIENT) @Nullable <T> T getMetadata(ResourceMetadataReader<T> metaReader)
String getResourcePackName()