Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.26 KB

PotionOptions.md

File metadata and controls

38 lines (26 loc) · 1.26 KB
author ms.author ms.service title description monikerRange
jakeshirley
jashir
minecraft-bedrock-edition
minecraft/server.PotionOptions Interface
Contents of the @minecraft/server.PotionOptions class.
=minecraft-bedrock-experimental

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