protected void knockback(ActiveEntity e, double angle, float power) { e.knockbackX = (float)Math.Cos(angle) * power; e.knockbackY = (float)Math.Sin(angle) * power; }
protected void attack(ActiveEntity e) { e.hurt(attackAlpha); }