Перейти к основному содержанию

ItemInstance

Object representing item instance in the inventory.

Index

Properties

count

count: number

Amount of items of the specified ID.

data

data: number = 0

Item data value. Generally specifies some property of the item, e.g. color, material, etc. In many cases -1 means "any data value".

optionalextra

Item extra data. Contains some additional item data such as enchants, custom item name or some additional properties.

id

id: number

Item ID.

Page Options