public interface PotionBrewer
PotionEffects.| Modifier and Type | Method | Description | 
|---|---|---|
| @NotNull PotionEffect | createEffect(@NotNull PotionEffectType potion,
            int duration,
            int amplifier) | Creates a  PotionEffectfrom the givenPotionEffectType,
 applying duration modifiers and checks. | 
| @NotNull Collection<PotionEffect> | getEffects(@NotNull PotionType type,
          boolean upgraded,
          boolean extended) | Returns a collection of  PotionEffectthat would be applied from
 a potion with the given type. | 
| @NotNull Collection<PotionEffect> | getEffectsFromDamage(int damage) | Deprecated. 
 Non-Functional | 
@NotNull @NotNull PotionEffect createEffect(@NotNull @NotNull PotionEffectType potion, int duration, int amplifier)
PotionEffect from the given PotionEffectType,
 applying duration modifiers and checks.potion - The type of potionduration - The duration in ticksamplifier - The amplifier of the effect@Deprecated @NotNull @NotNull Collection<PotionEffect> getEffectsFromDamage(int damage)
PotionEffect that would be applied from
 a potion with the given data value.damage - The data value of the potion@NotNull @NotNull Collection<PotionEffect> getEffects(@NotNull @NotNull PotionType type, boolean upgraded, boolean extended)
PotionEffect that would be applied from
 a potion with the given type.type - The type of the potionupgraded - Whether the potion is upgradedextended - Whether the potion is extendedCopyright © 2020. All rights reserved.