Slot

A slot in an inventory.

Properties

slotNumber

readonly slotNumber: number

The index of this slot.


xDisplayPosition

readonly xDisplayPosition: number

The X position of this slot.


yDisplayPosition

readonly yDisplayPosition: number

The Y position of this slot.

Methods

getStack()

getStack(): ItemStack

Returns

ItemStack

The stack in this slot.

Last updated