Skip to content

FloatingItemDraw

data class FloatingItemDraw(
    val stack: ItemStack, 
    val x: Int, 
    val y: Int, 
    val text: String?
)

One held-back renderFloatingItem call - the carried stack, a split-drag stack, or an item snapping back to where it came from.

Constructors

FloatingItemDraw

constructor(
    stack: ItemStack, 
    x: Int, 
    y: Int, 
    text: String?
)

Properties

stack

val stack: ItemStack

text

val text: String?

x

val x: Int

y

val y: Int