Companion

object Companion

Functions

Link copied to clipboard
fun <T, R : Registry<T>> codec(registry: ResourceKey<R>): Codec<ResourceLocationOrTagKey<T>>
Link copied to clipboard
fun <T> ofLocation(location: ResourceLocation): ResourceLocationOrTagKey<T>
Link copied to clipboard
fun <T> ofTag(tag: TagKey<T>): ResourceLocationOrTagKey<T>