@minecraft
    正在准备搜索索引...

    接口 PotionOptions实验性

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

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

    属性

    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.