public interface PotionBrewer
|Modifier and Type||Method||Description|
Returns a collection of
@NotNull PotionEffect createEffect(@NotNull PotionEffectType potion, int duration, int amplifier)
potion- The type of potion
duration- The duration in ticks
amplifier- The amplifier of the effect
@Deprecated @NotNull Collection<PotionEffect> getEffectsFromDamage(int damage)
PotionEffectthat would be applied from a potion with the given data value.
damage- The data value of the potion
@NotNull Collection<PotionEffect> getEffects(@NotNull 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.