Class BleedEffect.Builder
java.lang.Object
studio.magemonkey.divinity.manager.effects.IExpirableEffect.Builder<BleedEffect.Builder>
studio.magemonkey.divinity.manager.effects.IPeriodicEffect.Builder<BleedEffect.Builder>
studio.magemonkey.divinity.manager.effects.main.BleedEffect.Builder
- Enclosing class:
BleedEffect
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPotionEffects(org.bukkit.potion.PotionEffect... pe) build()protected BleedEffect.Builderself()setApplyMessage(String message) setExpireMessage(String message) setRejectMessage(String message) withBlood(org.bukkit.Particle blood) withCaster(org.bukkit.entity.LivingEntity caster) withCharges(int charges) withFunction(Function<org.bukkit.entity.LivingEntity, Double> damageFunction) withThreshold(double threshold)
-
Constructor Details
-
Builder
-
-
Method Details
-
withFunction
public BleedEffect.Builder withFunction(@NotNull Function<org.bukkit.entity.LivingEntity, Double> damageFunction) -
withBlood
-
withColor
-
build
- Specified by:
buildin classIPeriodicEffect.Builder<BleedEffect.Builder>
-
self
- Specified by:
selfin classIPeriodicEffect.Builder<BleedEffect.Builder>
-
withCaster
-
withCharges
-
withThreshold
-
setApplyMessage
-
setExpireMessage
-
setRejectMessage
-
addPotionEffects
-