Display

@Serializable
data class Display(val thirdPersonRightHand: Model.Display.Entry = Entry(), val thirdPersonLeftHand: Model.Display.Entry = thirdPersonRightHand, val firstPersonRightHand: Model.Display.Entry = Entry(), val firstPersonLeftHand: Model.Display.Entry = firstPersonRightHand, val head: Model.Display.Entry = Entry(), val gui: Model.Display.Entry = Entry(), val ground: Model.Display.Entry = Entry(), val fixed: Model.Display.Entry = Entry())

The display settings for an item model, depending on the context.

Parameters

thirdPersonRightHand

The display settings for right hand in third person.

thirdPersonLeftHand

The display settings for left hand in third person. Defaults to thirdPersonRightHand if unspecified.

firstPersonRightHand

The display settings for right hand in first person.

firstPersonLeftHand

The display settings for left hand in first person. Defaults to firstPersonRightHand if unspecified.

head

The display settings for the head.

gui

The display settings for the GUI.

ground

The display settings for the ground.

fixed

The display settings for fixed position.

Constructors

Link copied to clipboard
constructor(thirdPersonRightHand: Model.Display.Entry = Entry(), thirdPersonLeftHand: Model.Display.Entry = thirdPersonRightHand, firstPersonRightHand: Model.Display.Entry = Entry(), firstPersonLeftHand: Model.Display.Entry = firstPersonRightHand, head: Model.Display.Entry = Entry(), gui: Model.Display.Entry = Entry(), ground: Model.Display.Entry = Entry(), fixed: Model.Display.Entry = Entry())

Types

Link copied to clipboard
object Companion
Link copied to clipboard
@Serializable
data class Entry(val rotation: Vector3dc = Vector3d(0.0, 0.0, 0.0), val translation: Vector3dc = Vector3d(0.0, 0.0, 0.0), val scale: Vector3dc = Vector3d(1.0, 1.0, 1.0))

The display settings for an item model.

Link copied to clipboard
@Serializable
enum Position : Enum<Model.Display.Position>

The different contexts in a Display.

Properties

Link copied to clipboard
@SerialName(value = "firstperson_lefthand")
val firstPersonLeftHand: Model.Display.Entry
Link copied to clipboard
@SerialName(value = "firstperson_righthand")
val firstPersonRightHand: Model.Display.Entry
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "thirdperson_lefthand")
val thirdPersonLeftHand: Model.Display.Entry
Link copied to clipboard
@SerialName(value = "thirdperson_righthand")
val thirdPersonRightHand: Model.Display.Entry

Functions

Link copied to clipboard