Class PotionBuilder

java.lang.Object
com.guflimc.brick.gui.spigot.item.AbstractItemStackBuilder<PotionBuilder>
com.guflimc.brick.gui.spigot.item.specific.PotionBuilder

public class PotionBuilder extends AbstractItemStackBuilder<PotionBuilder>
  • Constructor Details

    • PotionBuilder

      protected PotionBuilder(org.bukkit.inventory.ItemStack itemStack)
  • Method Details

    • create

      public static PotionBuilder create(PotionBuilder.PotionType type)
    • withPotionEffect

      public PotionBuilder withPotionEffect(org.bukkit.potion.PotionEffect effect)
    • withPotionEffects

      public PotionBuilder withPotionEffects(org.bukkit.potion.PotionEffect... effects)
    • withPotionEffects

      public PotionBuilder withPotionEffects(List<org.bukkit.potion.PotionEffect> effects)
    • withPotionEffect

      public PotionBuilder withPotionEffect(org.bukkit.potion.PotionEffectType type)
    • withPotionEffect

      public PotionBuilder withPotionEffect(org.bukkit.potion.PotionEffectType type, int duration)
    • withPotionEffect

      public PotionBuilder withPotionEffect(org.bukkit.potion.PotionEffectType type, int duration, int amplifier)
    • withPotionEffect

      public PotionBuilder withPotionEffect(org.bukkit.potion.PotionEffectType type, int duration, int amplifier, boolean ambient)
    • withPotionEffect

      public PotionBuilder withPotionEffect(org.bukkit.potion.PotionEffectType type, int duration, int amplifier, boolean ambient, boolean particles)
    • withPotionEffect

      public PotionBuilder withPotionEffect(org.bukkit.potion.PotionEffectType type, int duration, int amplifier, boolean ambient, boolean particles, boolean icon)