PotionOptions Interface

Caution

This interface is still in pre-release. Its signature may change or it may be removed in future releases.

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

Properties

effect

effect: PotionEffectType | string;

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

Type: PotionEffectType | string

liquid

liquid?: PotionLiquidType | string;

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

Type: PotionLiquidType | string

modifier

modifier?: PotionModifierType | string;

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

Type: PotionModifierType | string