Class IgniteAbilityEffect
java.lang.Object
org.woftnw.eof.ability.effect.AbilityEffect
org.woftnw.eof.ability.effect.IgniteAbilityEffect
-
Field Summary
Fields inherited from class AbilityEffect
ALL_EFFECT_COLOR, OTHERS_EFFECT_COLOR, PLUGIN, SELF_EFFECT_COLOR, TARGET -
Constructor Summary
ConstructorsConstructorDescriptionIgniteAbilityEffect(ElytrasOfFire plugin, Target target, int fireTicks) Create an IgniteAbilityEffect. -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(org.bukkit.entity.Player user) net.kyori.adventure.text.ComponentGet the description of this ability.intGet the number of ticks to set the target on fire for.Methods inherited from class AbilityEffect
getTarget
-
Constructor Details
-
IgniteAbilityEffect
Create an IgniteAbilityEffect.- Parameters:
target- The target of the effect.fireTicks- The number of ticks to set the target on fire for.
-
-
Method Details
-
getFireTicks
public int getFireTicks()Get the number of ticks to set the target on fire for.- Returns:
- The number of fire ticks.
-
getDescription
public net.kyori.adventure.text.Component getDescription()Description copied from class:AbilityEffectGet the description of this ability.- Specified by:
getDescriptionin classAbilityEffect- Returns:
- The description as a
TextComponent.
-
apply
public void apply(org.bukkit.entity.Player user) - Specified by:
applyin classAbilityEffect
-