Uses of Enum Class
studio.magemonkey.fabled.api.util.BuffType
Packages that use BuffType
-
Uses of BuffType in studio.magemonkey.fabled.api.util
Methods in studio.magemonkey.fabled.api.util that return BuffTypeModifier and TypeMethodDescriptionstatic BuffTypeBuffType.getByNameOrLocal(String name) static BuffTypeReturns 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 studio.magemonkey.fabled.api.util with parameters of type BuffTypeModifier and TypeMethodDescriptionvoidDeprecated.voidDeprecated.Buff types are more abstract now, soBuffData.addBuff(String, Buff, int)should be preferredstatic voidBuffManager.addBuff(org.bukkit.entity.LivingEntity entity, BuffType type, String category, Buff buff, int ticks) Adds an offensive buff to the entitystatic voidAdds an offensive buff to the entitydoubleDeprecated.useBuffData.apply(String, double)insteaddoubleApplies all buffs of the given type to the specified valuestatic doubleDeprecated, for removal: This API element is subject to removal in a future version.useBuffRegistry.scaleValue(String, LivingEntity, double)insteadstatic doubleBuffManager.apply(org.bukkit.entity.LivingEntity entity, BuffType type, String category, double amount) Deprecated, for removal: This API element is subject to removal in a future version.useBuffRegistry.scaleValue(String, LivingEntity, double)insteadvoidBuffData.clearByType(BuffType type) Clears buffs by the given typedoubleBuffData.getFlatBonus(BuffType buffType, String category) doubleBuffData.getMultiplier(BuffType buffType, String category) boolean
BuffData.addBuff(String, Buff, int)should be preferred