Class OthersTarget

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

public class OthersTarget extends RangedTarget
Targets all instances of LivingEntity within range except for the user.
  • Constructor Details

    • OthersTarget

      public OthersTarget(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()