Interface Target

All Known Implementing Classes:
AllTarget, MeleeTarget, OthersTarget, RangedTarget, RayCastTarget, SelfTarget

public interface Target
Represents the target of an AbilityEffect.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final List<org.bukkit.entity.LivingEntity>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<org.bukkit.entity.LivingEntity>
    getTargets(org.bukkit.entity.Player user)
    Get the targets of this effect.
    net.kyori.adventure.text.format.TextColor
     
  • Field Details

    • NONE

      static final List<org.bukkit.entity.LivingEntity> NONE
  • Method Details

    • getTargets

      Collection<org.bukkit.entity.LivingEntity> getTargets(org.bukkit.entity.Player user)
      Get the targets of this effect.
      Parameters:
      user - The effect user.
      Returns:
      The Players affected.
    • getTextColor

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