public interface PotionBrewer
PotionEffects.| Modifier and Type | Method and Description | 
|---|---|
| PotionEffect | createEffect(PotionEffectType potion,
            int duration,
            int amplifier)Creates a  PotionEffectfrom the givenPotionEffectType,
 applying duration modifiers and checks. | 
| Collection<PotionEffect> | getEffectsFromDamage(int damage)Deprecated. 
 Magic value | 
PotionEffect createEffect(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 Collection<PotionEffect> getEffectsFromDamage(int damage)
PotionEffect that would be applied from
 a potion with the given data value.damage - The data value of the potionCopyright © 2015. All rights reserved.