@minecraft/server
    Preparing search index...

    Interface PotionOptionsBeta

    Options for use in creating potions. See ItemStack.createPotion.

    interface PotionOptions {
        effect: string | PotionEffectType;
        liquid?: string | PotionLiquidType;
        modifier?: string | PotionModifierType;
    }
    Index

    Properties

    effect: string | PotionEffectType

    The type of potion effect to create. See @minecraft/vanilla-data.MinecraftPotionEffectTypes.

    liquid?: string | PotionLiquidType

    Optional potion liquid, defaults to 'Regular'. See @minecraft/vanilla-data.MinecraftPotionLiquidTypes.

    modifier?: string | PotionModifierType

    Optional potion modifier, defaults to 'Normal'. See @minecraft/vanilla-data.MinecraftPotionModifierTypes.