29 public boolean withinDistance(
Mob attacker,
Mob defender) {
34 public boolean canAttack(Mob attacker, Mob defender) {
39 public boolean canOtherAttack(Mob attacker, Mob defender) {
44 public void onDamage(Mob defender, Hit hit) {
48 public void start(Mob attacker, Mob defender, Hit[] hits) {
52 public void attack(Mob attacker, Mob defender, Hit hit) {
56 public void hit(Mob attacker, Mob defender, Hit hit) {
60 public void block(Mob attacker, Mob defender, Hit hit, CombatType combatType) {
64 public void preDeath(Mob attacker, Mob defender, Hit hit) {
68 public void onDeath(Mob attacker, Mob defender, Hit hit) {
72 public void hitsplat(Mob attacker, Mob defender, Hit hit) {
76 public void finishOutgoing(Mob attacker, Mob defender) {
80 public void finishIncoming(Mob attacker, Mob defender) {
88 public void onKill(
Mob attacker,
Mob defender,
Hit hit) {
void preKill(Mob attacker, Mob defender, Hit hit)