/** Returns whether the EntityAIBase should begin execution. */
  public boolean shouldExecute() {
    leapTarget = leaper.getAttackTarget();

    if (leapTarget == null) {
      return false;
    }

    double d = leaper.getDistanceSqToEntity(leapTarget);

    if (d < 4D || d > 16D) {
      return false;
    }

    if (!leaper.onGround) {
      return false;
    }

    return leaper.getRNG().nextInt(5) == 0;
  }