SerenityJS
    Preparing search index...

    Interface EntityItemStackTraitOptions

    interface EntityItemStackTraitOptions {
        canDespawn?: boolean;
        canMerge?: boolean;
        itemStack: ItemStack;
        lifeSpan?: number;
    }
    Index

    Properties

    canDespawn?: boolean

    Whether the item can despawn according to its lifespan.

    canMerge?: boolean

    Whether the item can be merged with other items.

    itemStack: ItemStack

    The item stack of the component.

    lifeSpan?: number

    The lifespan of the item in ticks.