Interface Target
- All Known Implementing Classes:
AllTarget, MeleeTarget, OthersTarget, RangedTarget, RayCastTarget, SelfTarget
public interface Target
Represents the target of an
AbilityEffect.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionCollection<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
-
-
Method Details
-
getTargets
Get the targets of this effect.- Parameters:
user- The effect user.- Returns:
- The Players affected.
-
getTextColor
net.kyori.adventure.text.format.TextColor getTextColor()
-