ItemModelDefinition

@Serializable
data class ItemModelDefinition(val model: ItemModel, val handAnimationOnSwap: Boolean = true)

An Item Model Definition.

Parameters

model

The model to use.

handAnimationOnSwap

Whether a down-and-up animation should be played in first-person view when the item slot is changed (either type, count, components or by swapping the item into the other hand).

Constructors

Link copied to clipboard
constructor(model: ItemModel, handAnimationOnSwap: Boolean = true)

Properties

Link copied to clipboard
@SerialName(value = "hand_animation_on_swap")
val handAnimationOnSwap: Boolean = true
Link copied to clipboard