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

    Class SetItemLoreFunction

    Loot item function that modifies the lore of the item dropped.

    export class SetItemLoreFunction extends LootItemFunction {
    private constructor();
    readonly lore: string[];
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    conditions: LootItemCondition[]
    lore: string[]

    The lore to apply to the dropped item.

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