[API reference](https://jsprismarine.dev/api/index.md) / [@jsprismarine/prismarine](https://jsprismarine.dev/api/@jsprismarine/prismarine/index.md) / inventory/CreativeInventory

# inventory/CreativeInventory

## Classes

- [CreativeInventory](https://jsprismarine.dev/api/@jsprismarine/prismarine/inventory/CreativeInventory/classes/CreativeInventory.md)

## Interfaces

### CreativeEntry

Defined in: [packages/prismarine/src/inventory/CreativeInventory.ts:22](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/inventory/CreativeInventory.ts#L22)

A server creative item and the heading that contains it.

#### Properties

##### group

> **group**: `number`

Defined in: [packages/prismarine/src/inventory/CreativeInventory.ts:25](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/inventory/CreativeInventory.ts#L25)

An index into the server creative menu's groups.

##### item

> **item**: [`Item`](https://jsprismarine.dev/api/@jsprismarine/prismarine/item/Item/classes/Item.md)

Defined in: [packages/prismarine/src/inventory/CreativeInventory.ts:23](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/inventory/CreativeInventory.ts#L23)

***

### CreativeGroup

Defined in: [packages/prismarine/src/inventory/CreativeInventory.ts:14](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/inventory/CreativeInventory.ts#L14)

A server creative heading, with an item instance shown beside it.

#### Properties

##### category

> **category**: [`CreativeItemCategory`](https://jsprismarine.dev/api/@jsprismarine/protocol/index.md#creativeitemcategory)

Defined in: [packages/prismarine/src/inventory/CreativeInventory.ts:15](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/inventory/CreativeInventory.ts#L15)

##### icon

> **icon**: [`Item`](https://jsprismarine.dev/api/@jsprismarine/prismarine/item/Item/classes/Item.md)

Defined in: [packages/prismarine/src/inventory/CreativeInventory.ts:18](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/inventory/CreativeInventory.ts#L18)

##### name

> **name**: `string`

Defined in: [packages/prismarine/src/inventory/CreativeInventory.ts:17](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/inventory/CreativeInventory.ts#L17)

A translation key such as `itemGroup.name.planks`, or empty for an anonymous group.

## References

### creativeInventory

Renames and re-exports [CreativeInventory](https://jsprismarine.dev/api/@jsprismarine/prismarine/inventory/CreativeInventory/classes/CreativeInventory.md)
