Class IgniteAbilityEffect

java.lang.Object
org.woftnw.eof.ability.effect.AbilityEffect
org.woftnw.eof.ability.effect.IgniteAbilityEffect

public class IgniteAbilityEffect extends AbilityEffect
  • Constructor Details

    • IgniteAbilityEffect

      public IgniteAbilityEffect(ElytrasOfFire plugin, Target target, int fireTicks)
      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: AbilityEffect
      Get the description of this ability.
      Specified by:
      getDescription in class AbilityEffect
      Returns:
      The description as a TextComponent.
    • apply

      public void apply(org.bukkit.entity.Player user)
      Specified by:
      apply in class AbilityEffect