of

fun <T> of(registry: ResourceKey<out Registry<T>>, location: Key): TagKey<T>

Creates a new tag key for the given registry and location.

Return

a new tag key

Parameters

T

the tag type

registry

the registry key

location

the location