public boolean isInArea(Location l) {
        double x = l.getX();
        double y = l.getY();
        double z = l.getZ();
        return x > minPoint.x && x < maxPoint.x && z > minPoint.z && z < maxPoint.z && y > minPoint.y
                && y < maxPoint.y;
    }