packed-core
Toggle table of contents
1.1.4
jvm
Platform filter
jvm
Switch theme
Search in API
packed-core
packed-core
/
net.radstevee.packed.core.item.definition
/
BasicItem
Basic
Item
class
BasicItem
(
val
model
:
Key
,
val
tints
:
List
<
Tint
>
=
listOf()
)
:
ItemDefinitionType
A basic item definition, rendering a model.
Members
Constructors
Basic
Item
Link copied to clipboard
constructor
(
model
:
Key
,
tints
:
List
<
Tint
>
=
listOf()
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
model
Link copied to clipboard
val
model
:
Key
The model key.
tints
Link copied to clipboard
val
tints
:
List
<
Tint
>
The tints.
type
Codec
Link copied to clipboard
open
override
val
typeCodec
:
MapCodec
<
out
ItemDefinitionType
>
The codec for this type.