public Line(Location start, Location end, double offsetY) {
		if (!start.getWorld().getName().equals(end.getWorld().getName()))
			throw new IllegalArgumentException("Cannot create a block line between two different worlds");
		this.worldName = start.getWorld().getName();
		this.start = start.toVector();
		this.end = end.toVector();
		this.direction = this.end.subtract(this.start);
		this.distance = (int) start.distance(end);
		this.offsetY = offsetY;
	}