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 BuffType
BuffType.getByNameOrLocal
(String name) static BuffType
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 studio.magemonkey.fabled.api.util with parameters of type BuffTypeModifier and TypeMethodDescriptionvoid
Deprecated.void
Deprecated.Buff types are more abstract now, soBuffData.addBuff(String, Buff, int)
should be preferredstatic void
BuffManager.addBuff
(org.bukkit.entity.LivingEntity entity, BuffType type, String category, Buff buff, int ticks) Adds an offensive buff to the entitystatic void
Adds an offensive buff to the entitydouble
Deprecated.useBuffData.apply(String, double)
insteaddouble
Applies all buffs of the given type to the specified valuestatic double
Deprecated, for removal: This API element is subject to removal in a future version.useBuffRegistry.scaleValue(String, LivingEntity, double)
insteadstatic double
BuffManager.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)
insteadvoid
BuffData.clearByType
(BuffType type) Clears buffs by the given typedouble
BuffData.getFlatBonus
(BuffType buffType, String category) double
BuffData.getMultiplier
(BuffType buffType, String category) boolean
BuffData.addBuff(String, Buff, int)
should be preferred