Class DataAbilityEffect

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

public class DataAbilityEffect extends AbilityEffect
  • Constructor Details

    • DataAbilityEffect

      public DataAbilityEffect(ElytrasOfFire plugin, Target target, String dataString, boolean apply)
      Create an AbilityEffect.
      Parameters:
      target - The target of the effect.
      dataString - The String to store.
  • Method Details

    • getDataString

      public String getDataString()
    • 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