public interface PotionBrewer
|Modifier and Type||Method||Description|
Returns a collection of
PotionEffect createEffect(PotionEffectType potion, int duration, int amplifier)
potion- The type of potion
duration- The duration in ticks
amplifier- The amplifier of the effect
@Deprecated java.util.Collection<PotionEffect> getEffectsFromDamage(int damage)
PotionEffectthat would be applied from a potion with the given data value.
damage- The data value of the potion
java.util.Collection<PotionEffect> getEffects(PotionType type, boolean upgraded, boolean extended)
PotionEffectthat would be applied from a potion with the given type.
type- The type of the potion
upgraded- Whether the potion is upgraded
extended- Whether the potion is extended
Copyright © 2019. All rights reserved.