nova-parent
Toggle table of contents
0.19-alpha.1
jvm
Platform filter
jvm
Switch theme
Search in API
nova-parent
nova
/
xyz.xenondevs.nova.resources.builder.data
/
ItemModel
/
Condition
Condition
@
Serializable
@
SerialName
(
value
=
"minecraft:condition"
)
data
class
Condition
(
val
property
:
ItemModel.Condition.Property
,
val
onTrue
:
ItemModel
,
val
onFalse
:
ItemModel
,
val
component
:
Key
?
=
null
,
val
ignoreDefault
:
Boolean
=
false
,
val
keybind
:
Keybind
?
=
null
,
val
index
:
Int
=
0
)
:
ItemModel
Members
Constructors
Condition
Link copied to clipboard
constructor
(
property
:
ItemModel.Condition.Property
,
onTrue
:
ItemModel
,
onFalse
:
ItemModel
,
component
:
Key
?
=
null
,
ignoreDefault
:
Boolean
=
false
,
keybind
:
Keybind
?
=
null
,
index
:
Int
=
0
)
Types
Property
Link copied to clipboard
@
Serializable
enum
Property
:
Enum
<
ItemModel.Condition.Property
>
Properties
component
Link copied to clipboard
val
component
:
Key
?
=
null
ignore
Default
Link copied to clipboard
val
ignoreDefault
:
Boolean
=
false
index
Link copied to clipboard
val
index
:
Int
=
0
keybind
Link copied to clipboard
val
keybind
:
Keybind
?
=
null
on
False
Link copied to clipboard
@
SerialName
(
value
=
"on_false"
)
val
onFalse
:
ItemModel
on
True
Link copied to clipboard
@
SerialName
(
value
=
"on_true"
)
val
onTrue
:
ItemModel
property
Link copied to clipboard
val
property
:
ItemModel.Condition.Property