toString

fun ResourceLocation.toString(separator: String): String


fun Key.toString(separator: String): String

Converts this Key to a string by concatenating the Key.namespace and Key.value with separator.