registryOrThrow

open override fun <E : Any> registryOrThrow(key: ResourceKey<out Registry<out E>>): WritableRegistry<E>