第八步
void zhen_mu_x_zhou_2(int x_pian_yi){ no0(); y+=56; x+=56; z+=71; x+=x_pian_yi; mc.drawLine(x,y,z+1,x,y,z+2,126,10); mc.setBlock(x,y,z+3,5,2); mc.drawLine(x,y+1,z,x,y+1,z+2,5,2); Sleep(200); mc.drawLine(x+1,y+1,z,x+1,y+1,z+2,251,14); mc.drawLine(x+1,y+2,z,x+1,y+2,z+2,126,2); mc.drawLine(x+1,y+1,z+3,x+1,y+1,z+5,5,2); mc.drawLine(x,y+1,z+3,x,y+1,z+5,126,2); mc.setBlock(x,y,z+5,126,10); } void zhen_mu_x_zhou_1(int x_pian_yi){ no0(); y+=56; x+=56; z+=23; x+=x_pian_yi; mc.drawLine(x,y,z-1,x,y,z-2,126,10); mc.setBlock(x,y,z-3,5,2); mc.drawLine(x,y+1,z,x,y+1,z-2,5,2); Sleep(200); mc.drawLine(x+1,y+1,z,x+1,y+1,z-2,251,14); mc.drawLine(x+1,y+2,z,x+1,y+2,z-2,126,2); mc.drawLine(x+1,y+1,z-3,x+1,y+1,z-5,5,2); mc.drawLine(x,y+1,z-3,x,y+1,z-5,126,2); mc.setBlock(x,y,z-5,126,10); } int main() { zs=0; for(int i=0;i<45;i++){ zhen_mu_x_zhou_1(zs); zs+=2; } Sleep(1000); zs=0; for(int i=0;i<45;i++){ zhen_mu_x_zhou_2(zs); zs+=2; } return 0; }