> 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/newgen/api/net/minecraft/client/gui/screens/inventory/abstractcontainerscreen.md).

# AbstractContainerScreen

A screen showing a container menu, e.g. a chest or the inventory.

### Extends

* [`Screen`](/newgen/api/net/minecraft/client/gui/screens/screen.md)

### Properties

#### className

> `readonly` **className**: `string`

The simple name of the screen's Java class, e.g. "InventoryScreen".

**Remarks**

Names can differ between Minecraft versions.

**Inherited from**

[`Screen`](/newgen/api/net/minecraft/client/gui/screens/screen.md).[`className`](/newgen/api/net/minecraft/client/gui/screens/screen.md#classname)

***

#### height

> `readonly` **height**: `number`

The screen height in GUI pixels.

**Inherited from**

[`Screen`](/newgen/api/net/minecraft/client/gui/screens/screen.md).[`height`](/newgen/api/net/minecraft/client/gui/screens/screen.md#height)

***

#### hoveredSlot

> `readonly` **hoveredSlot**: [`Slot`](/newgen/api/net/minecraft/world/inventory/slot.md)

The slot under the mouse cursor, or null.

***

#### imageHeight

> `readonly` **imageHeight**: `number`

The window height in GUI pixels.

***

#### imageWidth

> `readonly` **imageWidth**: `number`

The window width in GUI pixels.

***

#### leftPos

> `readonly` **leftPos**: `number`

The window's left edge in GUI pixels, to add to a slot's x.

***

#### menu

> `readonly` **menu**: [`AbstractContainerMenu`](/newgen/api/net/minecraft/world/inventory/abstractcontainermenu.md)

The menu this screen shows.

***

#### title

> `readonly` **title**: `string`

The title, without formatting.

**Inherited from**

[`Screen`](/newgen/api/net/minecraft/client/gui/screens/screen.md).[`title`](/newgen/api/net/minecraft/client/gui/screens/screen.md#title)

***

#### topPos

> `readonly` **topPos**: `number`

The window's top edge in GUI pixels, to add to a slot's y.

***

#### width

> `readonly` **width**: `number`

The screen width in GUI pixels.

**Inherited from**

[`Screen`](/newgen/api/net/minecraft/client/gui/screens/screen.md).[`width`](/newgen/api/net/minecraft/client/gui/screens/screen.md#width)

### Methods

#### isPauseScreen()

> **isPauseScreen**(): `boolean`

Whether the game pauses in single player while this is open.

**Returns**

`boolean`

**Inherited from**

[`Screen`](/newgen/api/net/minecraft/client/gui/screens/screen.md).[`isPauseScreen`](/newgen/api/net/minecraft/client/gui/screens/screen.md#ispausescreen)
