toggle menu
nova-parent
0.17-alpha.34
jvm
switch theme
search in API
nova
/
xyz.xenondevs.nova.serialization.cbf
/
NamespacedCompound
Namespaced
Compound
class
NamespacedCompound
Members
Constructors
Namespaced
Compound
Link copied to clipboard
constructor
(
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
keys
Link copied to clipboard
val
keys
:
Set
<
ResourceLocation
>
Functions
contains
Link copied to clipboard
fun
contains
(
id
:
ResourceLocation
)
:
Boolean
fun
contains
(
key
:
NamespacedKey
)
:
Boolean
fun
contains
(
addon
:
Addon
,
key
:
String
)
:
Boolean
copy
Link copied to clipboard
fun
copy
(
)
:
NamespacedCompound
get
Link copied to clipboard
inline operator
fun
<
T
>
get
(
id
:
ResourceLocation
)
:
T
?
inline operator
fun
<
T
>
get
(
key
:
NamespacedKey
)
:
T
?
inline operator
fun
<
T
>
get
(
namespace
:
String
,
key
:
String
)
:
T
?
fun
<
T
>
get
(
type
:
KType
,
id
:
ResourceLocation
)
:
T
?
fun
<
T
>
get
(
type
:
KType
,
key
:
NamespacedKey
)
:
T
?
inline operator
fun
<
T
>
get
(
addon
:
Addon
,
key
:
String
)
:
T
?
fun
<
T
>
get
(
type
:
KType
,
namespace
:
String
,
key
:
String
)
:
T
?
fun
<
T
>
get
(
type
:
KType
,
addon
:
Addon
,
key
:
String
)
:
T
?
get
Or
Put
Link copied to clipboard
inline
fun
<
T
>
getOrPut
(
id
:
ResourceLocation
,
defaultValue
:
(
)
->
T
)
:
T
inline
fun
<
T
>
getOrPut
(
key
:
NamespacedKey
,
defaultValue
:
(
)
->
T
)
:
T
inline
fun
<
T
>
getOrPut
(
namespace
:
String
,
key
:
String
,
defaultValue
:
(
)
->
T
)
:
T
inline
fun
<
T
>
getOrPut
(
addon
:
Addon
,
key
:
String
,
defaultValue
:
(
)
->
T
)
:
T
is
Empty
Link copied to clipboard
fun
isEmpty
(
)
:
Boolean
is
Not
Empty
Link copied to clipboard
fun
isNotEmpty
(
)
:
Boolean
minus
Assign
Link copied to clipboard
operator
fun
minusAssign
(
id
:
ResourceLocation
)
operator
fun
minusAssign
(
key
:
NamespacedKey
)
put
All
Link copied to clipboard
fun
putAll
(
other
:
NamespacedCompound
)
remove
Link copied to clipboard
fun
remove
(
id
:
ResourceLocation
)
fun
remove
(
key
:
NamespacedKey
)
fun
remove
(
namespace
:
String
,
key
:
String
)
fun
remove
(
addon
:
Addon
,
key
:
String
)
set
Link copied to clipboard
inline operator
fun
<
T
>
set
(
id
:
ResourceLocation
,
value
:
T
)
inline operator
fun
<
T
>
set
(
key
:
NamespacedKey
,
value
:
T
)
inline operator
fun
<
T
>
set
(
namespace
:
String
,
key
:
String
,
value
:
T
)
fun
set
(
type
:
KType
,
id
:
ResourceLocation
,
value
:
Any
?
)
fun
set
(
type
:
KType
,
key
:
NamespacedKey
,
value
:
Any
?
)
inline operator
fun
<
T
>
set
(
addon
:
Addon
,
key
:
String
,
value
:
T
)
fun
set
(
type
:
KType
,
namespace
:
String
,
key
:
String
,
value
:
Any
?
)
fun
set
(
type
:
KType
,
addon
:
Addon
,
key
:
String
,
value
:
Any
?
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String