toResourcePath

fun <C : ResourceType> ResourceLocation.toResourcePath(type: C): ResourcePath<C>