@minecraft/server
    Preparing search index...

    Class SetPotionFunctionBeta

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

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    conditions: LootItemCondition[]
    id: string

    The id to be assigned to the dropped potion.