For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/classes/SetBannerDetailsFunction.md.

Class: SetBannerDetailsFunction

Beta

修改掉落旗帜类型的战利品物品函数。

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

Extends

Properties

baseColor

实验性

readonly baseColor: string

Beta

Remarks

掉落旗帜的底色。

The base color for the dropped banner.


conditions

readonly conditions: LootItemCondition[]

Beta

Inherited from

LootItemFunction.conditions


patterns

实验性

readonly patterns: BannerPattern[]

Beta

Remarks

用于装饰旗帜的 BannerPattern 对象数组,包括颜色和图案类型。

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


type

readonly type: number

Beta

Remarks

掉落的旗帜类型。

The type of banner to drop.