nova-parent
Toggle table of contents
0.18-alpha.14
jvm
Platform filter
jvm
Switch theme
Search in API
nova-parent
nova
/
xyz.xenondevs.nova.registry
/
NovaRegistryAccess
Nova
Registry
Access
object
NovaRegistryAccess
:
RegistryAccess
Members
Members & Extensions
Functions
add
Fuzzy
Registry
Link copied to clipboard
fun
<
E
:
Any
>
addFuzzyRegistry
(
addon
:
Addon
,
registryName
:
String
)
:
FuzzyMappedRegistry
<
E
>
add
Registry
Link copied to clipboard
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
all
Registries
Lifecycle
Link copied to clipboard
open
fun
allRegistriesLifecycle
(
)
:
Lifecycle
create
Serialization
Context
Link copied to clipboard
open
fun
<
V
:
Any
>
createSerializationContext
(
p0
:
DynamicOps
<
V
>
)
:
RegistryOps
<
V
>
freeze
Link copied to clipboard
open
fun
freeze
(
)
:
RegistryAccess.Frozen
get
Link copied to clipboard
open
operator
fun
<
T
:
Any
>
get
(
p0
:
ResourceKey
<
T
>
)
:
Optional
<
Holder.Reference
<
T
>
>
get
Or
Throw
Link copied to clipboard
fun
<
T
:
Any
>
RegistryAccess
.
getOrThrow
(
key
:
ResourceKey
<
T
>
)
:
Holder.Reference
<
T
>
get
Value
Link copied to clipboard
fun
<
T
:
Any
>
RegistryAccess
.
getValue
(
key
:
ResourceKey
<
T
>
)
:
T
?
get
Value
Or
Throw
Link copied to clipboard
fun
<
T
:
Any
>
RegistryAccess
.
getValueOrThrow
(
key
:
ResourceKey
<
T
>
)
:
T
list
Registries
Link copied to clipboard
open
fun
listRegistries
(
)
:
Stream
<
HolderLookup.RegistryLookup
<
*
>
>
list
Registry
Keys
Link copied to clipboard
open
override
fun
listRegistryKeys
(
)
:
Stream
<
ResourceKey
<
out
Registry
<
*
>
>
>
lookup
Link copied to clipboard
open
override
fun
<
E
:
Any
>
lookup
(
registry
:
ResourceKey
<
out
Registry
<
out
E
>
>
)
:
Optional
<
Registry
<
E
>
>
lookup
Or
Throw
Link copied to clipboard
open
override
fun
<
E
:
Any
>
lookupOrThrow
(
p0
:
ResourceKey
<
out
Registry
<
out
E
>
>
)
:
Registry
<
E
>
registries
Link copied to clipboard
open
override
fun
registries
(
)
:
Stream
<
RegistryAccess.RegistryEntry
<
*
>
>