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

    Class SetBannerDetailsFunction

    Loot item function that modifies the type of a banner that drops.

    export class SetBannerDetailsFunction extends LootItemFunction {
    private constructor();
    readonly baseColor: string;
    readonly patterns: BannerPattern[];
    readonly 'type': number;
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    baseColor: string

    The base color for the dropped banner.

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

    conditions: LootItemCondition[]
    patterns: BannerPattern[]

    An array of BannerPattern objects used to decorate the banner, including color and pattern type.

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

    type: number

    The type of banner to drop.

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