public void drawConstruction(Graphics2D g2){
        boolean last = false;
        x = world.getXDim();
        y = world.getYDim();
        z = world.getZDim();
        
        
        for (int i = 0; i < x; i++) {
            
            for (int j = 0; j < y; j++) {
                last = false;
                for (int l = 0; l < z; l++) {
                    if(blocks[i][j][l].getBlockState() > 0 && !(last)){
                        g2.setColor(blocks[i][j][l].getColor());
                        g2.fill(new Rectangle2D.Double(startX +(boxWidth*i),startY+(boxHeight*y)-(boxHeight*j)-boxHeight,boxWidth,boxHeight));
                        last = true;
                        
                    }else if(blocks[i][j][l].getBlockState() == 0 && l == z-1 && !last){
                        g2.setColor(Color.LIGHT_GRAY);
                        g2.fill(new Rectangle2D.Double(startX +(boxWidth*i),startY+(boxHeight*y)-(boxHeight*j)-boxHeight,boxWidth,boxHeight));
                    }                    
                }                
            }            
        }
    }