> 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/functions/hudrenderer.drawitemstack.md).

# hudRenderer.drawItemStack

### Call Signature

> **drawItemStack**(`stack`, `x`, `y`, `size`): `void`

Draws an item stack scaled to the given size, with count and durability overlay.

#### Parameters

**stack**

[`ItemStack`](/api/net/minecraft/item/itemstack.md)

The item stack to draw.

**x**

`number`

The x position.

**y**

`number`

The y position.

**size**

`number`

The size in pixels (native item size is 16).

#### Returns

`void`

### Call Signature

> **drawItemStack**(`stack`, `x`, `y`, `size`, `overlay`): `void`

Draws an item stack scaled to the given size, with optional count and durability overlay.

#### Parameters

**stack**

[`ItemStack`](/api/net/minecraft/item/itemstack.md)

The item stack to draw.

**x**

`number`

The x position.

**y**

`number`

The y position.

**size**

`number`

The size in pixels (native item size is 16).

**overlay**

`boolean`

Whether to draw the stack count and durability bar.

#### Returns

`void`
