Skip to content

API reference / @jsprismarine/prismarine / inventory/CreativeInventory

inventory/CreativeInventory ​

Classes ​

Interfaces ​

CreativeEntry ​

Defined in: packages/prismarine/src/inventory/CreativeInventory.ts:22

A server creative item and the heading that contains it.

Properties ​

group ​

group: number

Defined in: packages/prismarine/src/inventory/CreativeInventory.ts:25

An index into the server creative menu's groups.

item ​

item: Item

Defined in: packages/prismarine/src/inventory/CreativeInventory.ts:23


CreativeGroup ​

Defined in: packages/prismarine/src/inventory/CreativeInventory.ts:14

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

Properties ​

category ​

category: CreativeItemCategory

Defined in: packages/prismarine/src/inventory/CreativeInventory.ts:15

icon ​

icon: Item

Defined in: packages/prismarine/src/inventory/CreativeInventory.ts:18

name ​

name: string

Defined in: packages/prismarine/src/inventory/CreativeInventory.ts:17

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

References ​

creativeInventory ​

Renames and re-exports CreativeInventory