public interface AttackStrategy
|Modifier and Type||Method and Description|
Tries to attack the supplied target from the supplied attacker.
boolean handle(org.bukkit.entity.LivingEntity attacker, org.bukkit.entity.LivingEntity target)
trueif the attack was handled, or false if the default attack strategy should be used.
attacker- The entity attacker to use
target- The target to attack
Copyright © 2017. All rights reserved.