SerenityJS
    Preparing search index...

    Interface ItemStackStorage

    Used to store item stacks in a JSON-like format. This is mainly used for the traits that need to store item stacks.

    interface ItemStackStorage {
        items: [number, ItemStackDataEntry][];
        size: number;
        [key: string]: JSONLikeValue;
    }

    Hierarchy (View Summary)

    Indexable

    Index

    Properties

    Properties

    items: [number, ItemStackDataEntry][]

    The items stack data entries in the storage.

    size: number

    The max amount of item slots in the storage.