public interface PotionBrewer
|Modifier and Type||Method||Description|
Returns a collection of
@NotNull @NotNull PotionEffect createEffect(@NotNull @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 @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 @NotNull Collection<PotionEffect> getEffects(@NotNull @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 © 2020. All rights reserved.