provide

abstract fun <T> provide(registryKey: RegistryKey<out T>): RegisteredValueProvider<T>(source)

Gets the provider associated with the specified registryKey.

Return

The RegisteredValueProvider associated with the registryKey.

Parameters

registryKey

The RegistryKey to get the provider for.

Throws

if the registryKey is not present in this registry.