SerenityJS
    Preparing search index...

    Interface ItemStackOptions

    interface ItemStackOptions {
        amount: number;
        dataEntry?: ItemStackDataEntry;
        metadata: number;
        world?: World;
    }
    Index

    Properties

    amount: number

    The amount of items in the stack.

    dataEntry?: ItemStackDataEntry

    The item stack data entry, used for serialization and deserialization.

    metadata: number

    The metadata of the item stack.

    world?: World

    The world that the item stack is in.