getInputStream

@NotNull
abstract fun getInputStream(): @NotNull InputStream(source)

Returns the input stream the resource can be read from. After reading from the input stream, it should be closed with close.

Throws

If Minecraft throws it

If the given resource doesn't exist. Check with exists beforehand