> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/inventory/container.md).

# 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`](/api/net/minecraft/inventory/slot.md)

Gets the ItemStack in the specified slot.

**Parameters**

**slot**

`number`

**Returns**

[`Slot`](/api/net/minecraft/inventory/slot.md)

The ItemStack
