toggle menu
nova-parent
0.17-alpha.37
jvm
switch theme
search in API
nova
/
xyz.xenondevs.nova.registry
/
NovaRegistryAccess
/
addRegistry
add
Registry
fun
<
E
:
Any
>
addRegistry
(
addon
:
Addon
,
registryName
:
String
)
:
WritableRegistry
<
E
>
fun
<
E
:
Any
,
R
:
Registry
<
E
>
>
addRegistry
(
addon
:
Addon
,
registryName
:
String
,
registryConstructor
:
(
ResourceKey
<
out
R
>
,
Lifecycle
)
->
R
)
:
R