changed getLocation.getBlock().getLocation() to getLocation()
and changed setX(blockLocation.getX() + 1; to add(1, 0, 0);