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 |
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.
effect: PotionEffectType | string;
The type of potion effect to create. See @minecraft/vanilla-data.MinecraftPotionEffectTypes.
Type: PotionEffectType | string
liquid?: PotionLiquidType | string;
Optional potion liquid, defaults to 'Regular'. See @minecraft/vanilla-data.MinecraftPotionLiquidTypes.
Type: PotionLiquidType | string
modifier?: PotionModifierType | string;
Optional potion modifier, defaults to 'Normal'. See @minecraft/vanilla-data.MinecraftPotionModifierTypes.
Type: PotionModifierType | string