Class PotionBuilder
java.lang.Object
com.guflimc.brick.gui.spigot.item.AbstractItemStackBuilder<PotionBuilder>
com.guflimc.brick.gui.spigot.item.specific.PotionBuilder
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.guflimc.brick.gui.spigot.item.AbstractItemStackBuilder
itemStack
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PotionBuilder
withPotionEffect
(org.bukkit.potion.PotionEffect effect) withPotionEffect
(org.bukkit.potion.PotionEffectType type) withPotionEffect
(org.bukkit.potion.PotionEffectType type, int duration) withPotionEffect
(org.bukkit.potion.PotionEffectType type, int duration, int amplifier) withPotionEffect
(org.bukkit.potion.PotionEffectType type, int duration, int amplifier, boolean ambient) withPotionEffect
(org.bukkit.potion.PotionEffectType type, int duration, int amplifier, boolean ambient, boolean particles) withPotionEffect
(org.bukkit.potion.PotionEffectType type, int duration, int amplifier, boolean ambient, boolean particles, boolean icon) withPotionEffects
(List<org.bukkit.potion.PotionEffect> effects) withPotionEffects
(org.bukkit.potion.PotionEffect... effects) Methods inherited from class com.guflimc.brick.gui.spigot.item.AbstractItemStackBuilder
apply, apply, apply, applyMeta, applyMeta, build, clearEnchantments, clearLore, hideAttributes, showAttributes, transform, withAmount, withEnchantment, withEnchantment, withItemFlag, withLore, withLore, withLore, withName, withName, withoutItemFlag, withToolDamage, withType
-
Constructor Details
-
PotionBuilder
protected PotionBuilder(org.bukkit.inventory.ItemStack itemStack)
-
-
Method Details
-
create
-
withPotionEffect
-
withPotionEffects
-
withPotionEffects
-
withPotionEffect
-
withPotionEffect
-
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)
-