Class DataAbilityEffect
java.lang.Object
org.woftnw.eof.ability.effect.AbilityEffect
org.woftnw.eof.ability.effect.DataAbilityEffect
-
Field Summary
Fields inherited from class AbilityEffect
ALL_EFFECT_COLOR, OTHERS_EFFECT_COLOR, PLUGIN, SELF_EFFECT_COLOR, TARGET -
Constructor Summary
ConstructorsConstructorDescriptionDataAbilityEffect(ElytrasOfFire plugin, Target target, String dataString, boolean apply) Create an AbilityEffect. -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(org.bukkit.entity.Player user) net.kyori.adventure.text.ComponentGet the description of this ability.Methods inherited from class AbilityEffect
getTarget
-
Constructor Details
-
DataAbilityEffect
Create an AbilityEffect.- Parameters:
target- The target of the effect.dataString- The String to store.
-
-
Method Details
-
getDataString
-
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
-