Class PotionEffects
java.lang.Object
me.wolfyscript.customcrafting.data.cache.potions.PotionEffects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyPotionEffect(CCCache cache)
int
int
org.bukkit.potion.PotionEffectType
getType()
boolean
boolean
isIcon()
boolean
boolean
void
setAmbient(boolean ambient)
void
setAmplifier(int amplifier)
void
setApplyPotionEffect(ApplyPotionEffect applyPotionEffect)
void
setApplyPotionEffectType(ApplyPotionEffectType applyPotionEffectType)
void
setDuration(int duration)
void
setIcon(boolean icon)
void
setOpenedFrom(String openedFromCluster, String openedFromWindow)
void
setOpenedFromCluster(String openedFromCluster)
void
setOpenedFromWindow(String openedFromWindow)
void
setParticles(boolean particles)
void
setRecipePotionEffect(boolean recipePotionEffect)
void
setType(org.bukkit.potion.PotionEffectType type)
-
Constructor Details
-
PotionEffects
public PotionEffects()
-
-
Method Details
-
isRecipePotionEffect
public boolean isRecipePotionEffect() -
setRecipePotionEffect
public void setRecipePotionEffect(boolean recipePotionEffect) -
getAmplifier
public int getAmplifier() -
setAmplifier
public void setAmplifier(int amplifier) -
getDuration
public int getDuration() -
setDuration
public void setDuration(int duration) -
getType
public org.bukkit.potion.PotionEffectType getType() -
setType
public void setType(org.bukkit.potion.PotionEffectType type) -
isAmbient
public boolean isAmbient() -
setAmbient
public void setAmbient(boolean ambient) -
isParticles
public boolean isParticles() -
setParticles
public void setParticles(boolean particles) -
isIcon
public boolean isIcon() -
setIcon
public void setIcon(boolean icon) -
getApplyPotionEffect
-
setApplyPotionEffect
-
applyPotionEffect
-
getApplyPotionEffectType
-
setApplyPotionEffectType
-
getOpenedFromWindow
-
setOpenedFromWindow
-
getOpenedFromCluster
-
setOpenedFromCluster
-
setOpenedFrom
-