lihzahrd.items

class lihzahrd.items.ItemStack(type_: ItemType, quantity: int = 1, prefix: PrefixType | None = None)

A stack of a certain item.

prefix: PrefixType | None

The modifier of the item in this stack. Should be set only when quantity is 1.

quantity: int

A number from 1 to 999 representing the number of items inside this stack.

type: ItemType

The type of item represented in this stack.