codec

fun <T, R : Registry<T>> codec(registry: ResourceKey<R>): Codec<ResourceLocationOrTagKey<T>>