@minecraft/server
    Preparing search index...

    Class SetBannerDetailsFunctionBeta

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

    Hierarchy (View Summary)

    Index

    Properties

    baseColor: string

    The base color for the dropped banner.

    conditions: LootItemCondition[]
    patterns: BannerPattern[]

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

    type: number

    The type of banner to drop.