set

abstract operator fun <T> set(registryKey: RegistryKey<in T>, provider: RegisteredValueProvider<T>)(source)

Associates the specified provider with the specified registryKey in this registry.

Parameters

registryKey

The RegistryKey to associate with the provider.

provider

The RegisteredValueProvider to associate with the registryKey.