Uses of Enum Class
com.sucy.skill.api.util.BuffType

Packages that use BuffType
Package
Description
 
  • Uses of BuffType in com.sucy.skill.api.util

    Methods in com.sucy.skill.api.util that return BuffType
    Modifier and Type
    Method
    Description
    static BuffType
    BuffType.valueOf(String name)
    Returns the enum constant of this class with the specified name.
    static BuffType[]
    BuffType.values()
    Returns an array containing the constants of this enum class, in the order they are declared.
    Methods in com.sucy.skill.api.util with parameters of type BuffType
    Modifier and Type
    Method
    Description
    void
    BuffData.addBuff(BuffType type, Buff buff, int ticks)
    Adds a buff to the buff collection.
    void
    BuffData.addBuff(BuffType type, String category, Buff buff, int ticks)
    Adds a buff to the buff collection.
    static void
    BuffManager.addBuff(org.bukkit.entity.LivingEntity entity, BuffType type, Buff buff, int ticks)
    Adds an offensive buff to the entity
    static void
    BuffManager.addBuff(org.bukkit.entity.LivingEntity entity, BuffType type, String category, Buff buff, int ticks)
    Adds an offensive buff to the entity
    double
    BuffData.apply(BuffType type, double value)
    Applies all buffs of the given type to the specified value
    double
    BuffData.apply(BuffType type, String category, double value)
    Applies all buffs of the given type to the specified value
    static double
    BuffManager.apply(org.bukkit.entity.LivingEntity entity, BuffType type, double amount)
    Modifies the amount of dealt damage using damage buff multipliers and bonuses.
    static double
    BuffManager.apply(org.bukkit.entity.LivingEntity entity, BuffType type, String category, double amount)
    Modifies the amount of dealt damage using damage buff multipliers and bonuses.
    double
    BuffData.getFlatBonus(BuffType buffType, String category)
     
    double
    BuffData.getMultiplier(BuffType buffType, String category)