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

    Class SetPotionFunction

    Loot item function that assigns a type to a dropped potion.

    export class SetPotionFunction extends LootItemFunction {
    private constructor();
    readonly id: string;
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    conditions: LootItemCondition[]
    id: string

    The id to be assigned to the dropped potion.

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