resolve

fun resolve(path: ResourcePath<*>): Path

Resolves the file under path in the resource pack.


fun resolve(path: String): Path

Resolves the file under path in the resource pack.

Example paths: pack.json, assets/minecraft/textures/block/dirt.png