SerenityJS
    Preparing search index...

    Interface ItemStackDroppedOptions

    interface ItemStackDroppedOptions {
        amount: number;
        cancelled?: boolean;
        origin: Player | Entity;
    }
    Index

    Properties

    amount: number

    The amount of the item stack that was dropped.

    cancelled?: boolean

    Whether the drop was or should be cancelled.

    origin: Player | Entity

    The entity or player that dropped the item stack.