SerenityJS
    Preparing search index...

    Interface BlockDestroyOptions

    interface BlockDestroyOptions {
        cancel: boolean;
        dropLoot?: boolean;
        origin?: Entity;
    }
    Index

    Properties

    cancel: boolean

    Whether the block destruction should be cancelled.

    dropLoot?: boolean

    Whether the block should drop loot.

    origin?: Entity

    The entity that destroyed the block.