public void setBlock(Point one, Point two, Type type) {
        for (int x = (int) one.getX(); x < two.getX(); x++) {
            for (int y = (int) one.getY(); y < two.getY(); y++) {
                chunk[x][y].type = type;
            }
        }
    }