krypton

@Contract(value = "_ -> new", pure = true)
fun <T> krypton(key: String): ResourceKey<out Registry<T>>

Creates a new registry key with the given key as its base key.

This will use RegistryRoots.KRYPTON as its root.

Return

a new registry key

Parameters

T

the resource key type

key

the key