For the complete documentation index, see llms.txt. This page is also available as Markdown.

Container

Properties

windowId

readonly windowId: number

Gets the window ID of the inventory, you can use this with the player controller to move items around.

Methods

getSize()

getSize(): number

Gets the size of the inventory.

Returns

number


getSlot()

getSlot(slot): Slot

Gets the ItemStack in the specified slot.

Parameters

slot

number

Returns

Slot

The ItemStack

Last updated