Class AllTarget

java.lang.Object
org.woftnw.eof.ability.effect.target.RangedTarget
org.woftnw.eof.ability.effect.target.AllTarget
All Implemented Interfaces:
Target

public class AllTarget extends RangedTarget
Applies to both the user of the effect and others.
  • Constructor Details

    • AllTarget

      public AllTarget(float range)
  • Method Details

    • getTargets

      public Collection<org.bukkit.entity.LivingEntity> getTargets(@NonNull org.bukkit.entity.Player user)
      Description copied from interface: Target
      Get the targets of this effect.
      Parameters:
      user - The effect user.
      Returns:
      The Players affected.
    • getTextColor

      public net.kyori.adventure.text.format.TextColor getTextColor()