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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for