Script API - v1.26.40.20
    Preparing search index...

    Class CarryOverBlockEntityDataFunctionBeta

    Loot item function that will try to copy the block entity data from the destroyed block to the dropped item.

    export class CarryOverBlockEntityDataFunction extends LootItemFunction {
    private constructor();
    readonly dynamicProperties: boolean;
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    conditions: LootItemCondition[]
    dynamicProperties: boolean

    If true, and if the block entity had dynamic_properties, the function will copy the dynamic properties from the block entity to the dropped item.

    This property can't be read in early-execution mode.