build

abstract fun <T : Any> build(key: RegistryKey<Registry<T>>): Registry<T>

Creates a Simple Registry.

FeatureIncluded
Default valuefalse
Crashes if object not registeredfalse

Return

built registry

Author

fzzyhmstrs

Since

0.7.4

Parameters

T

type of object to be stored in the registry

key

RegistryKey key for the registry being built