ItemAttachment

class ItemAttachment(val name: String, val item: ItemStack, var localPosition: Vector, var localRotation: Vector) : Attachment(source)

Constructors

Link copied to clipboard
constructor(name: String, item: ItemStack, localPosition: Vector, localRotation: Vector)

Properties

Link copied to clipboard
val bukkitLocation: Location
Link copied to clipboard
Link copied to clipboard
val item: ItemStack
Link copied to clipboard
var itemDisplay: ItemDisplay?
Link copied to clipboard
var localPosition: Vector
Link copied to clipboard
var localRotation: Vector
Link copied to clipboard
open val localTransform: Matrix4f
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
lateinit var root: RootAttachment
Link copied to clipboard
var transform: Matrix4f
Link copied to clipboard
val worldPosition: Vector
Link copied to clipboard
val worldRotation: Vector
Link copied to clipboard
var worldTransform: Matrix4f

Functions

Link copied to clipboard
fun addChild(child: Attachment)
Link copied to clipboard
open override fun despawn()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun spawn()
Link copied to clipboard
Link copied to clipboard
open override fun updateTransform()
Link copied to clipboard
fun updateTransformRecurse(transform: Matrix4f)