#include <iostream> #include "minecraft.h" TxMinecraft mc; using namespace std; int main(int argc, char** argv) { bool con=mc.ConnectMinecraft("zk.makeblock.net.cn","868d8493d5f04d0f869ba1e24c863cdd"); if(!con){ cout<<"连接失败"<<endl; return 0; } cout<<"20126 80 19996"<<endl; mc.setPlayerFly("guoliheng"); int x,y,z; //x,y,z=s; // cin>>x>>y>>z; x=-230; y=80; z=-20; // mc.fillBlocks(x-2,y,z-2,x+25,y+30,z+30,0,0); //衣服 mc.fillBlocks(x+5,y+1,z,x+14,y+11,z,251,3); mc.setBlock(x+7,y+12,z,251,3); mc.drawLine(x+4,y+2,z,x+4,y+8,z,251,3); mc.drawLine(x+3,y+3,z,x+3,y+6,z,251,3); mc.drawLine(x+15,y+1,z,x+15,y+8,z,251,3); mc.fillBlocks(x+17,y+3,z,x+16,y+6,z,251,3); //手 mc.fillBlocks(x+11,y+11,z,x+9,y+13,z,251,5); mc.drawLine(x+17,y+1,z,x+18,y+2,z,251,5); mc.drawLine(x+3,y+1,z,x+1,y+3,z,251,5); mc.setBlock(x+1,y+4,z,251,5); //边 mc.drawLine(x+3,y+0,z,x+17,y+0,z,251,15); mc.drawLine(x+3,y+0,z,x+0,y+3,z,251,15); mc.drawLine(x+0,y+4,z,x+2,y+6,z,251,15); mc.drawLine(x+4,y+1,z,x+2,y+3,z,251,15); mc.setBlock(x+2,y+4,z,251,15); mc.setBlock(x+2,y+5,z,251,15); mc.setBlock(x+3,y+7,z,251,15); mc.setBlock(x+3,y+8,z,251,15); mc.setBlock(x+4,y+9,z,251,15); mc.setBlock(x+4,y+10,z,251,15); mc.drawLine(x+5,y+11,z,x+7,y+13,z,251,15); mc.setBlock(x+8,y+13,z,251,15); mc.setBlock(x+8,y+12,z,251,15); mc.setBlock(x+8,y+14,z,251,15); mc.setBlock(x+9,y+11,z,251,15); mc.setBlock(x+9,y+14,z,251,15); mc.setBlock(x+10,y+12,z,251,15); mc.setBlock(x+10,y+13,z,251,15); mc.setBlock(x+11,y+11,z,251,15); mc.setBlock(x+11,y+14,z,251,15); mc.setBlock(x+12,y+12,z,251,15); mc.setBlock(x+12,y+13,z,251,15); mc.setBlock(x+12,y+14,z,251,15); mc.setBlock(x+13,y+12,z,251,15); mc.setBlock(x+13,y+14,z,251,15); mc.drawLine(x+11,y+3,z,x+6,y+3,z,251,15); mc.drawLine(x+6,y+3,z,x+6,y+9,z,251,15); mc.drawLine(x+11,y+10,z,x+7,y+10,z,251,15); mc.drawLine(x+12,y+4,z,x+12,y+9,z,251,15); mc.setBlock(x+15,y+4,z,251,15); mc.drawLine(x+16,y+1,z,x+16,y+3,z,251,15); mc.setBlock(x+17,y+2,z,251,15); mc.setBlock(x+18,y+1,z,251,15); mc.setBlock(x+19,y+2,z,251,15); mc.setBlock(x+19,y+3,z,251,15); mc.drawLine(x+18,y+3,z,x+18,y+4,z,251,15); mc.drawLine(x+17,y+5,z,x+17,y+6,z,251,15); mc.drawLine(x+16,y+7,z,x+16,y+8,z,251,15); mc.drawLine(x+15,y+9,z,x+15,y+10,z,251,15); mc.setBlock(x+14,y+11,z,251,15); mc.drawLine(x+8,y+15,z,x+6,y+15,z,251,15); mc.setBlock(x+5,y+16,z,251,15); mc.setBlock(x+4,y+17,z,251,15); mc.setBlock(x+4,y+18,z,251,15); mc.setBlock(x+5,y+19,z,251,15); mc.drawLine(x+20,y+15,z,x+24,y+15,z,251,15); mc.setBlock(x+9,y+6,z,251,15); mc.setBlock(x+10,y+7,z,251,15); mc.setBlock(x+8,y+7,z,251,15); //辫 mc.fillBlocks(x+22,y+7,z,x+22,y+9,z,251,13); mc.setBlock(x+23,y+6,z,251,13); mc.drawLine(x+24,y+6,z,x+24,y+9,z,251,15); mc.setBlock(x+25,y+9,z,251,15); mc.setBlock(x+23,y+8,z,251,15); mc.setBlock(x+23,y+9,z,251,15); mc.setBlock(x+22,y+10,z,251,15); mc.setBlock(x+23,y+6,z,251,15); mc.drawLine(x+20,y+7,z,x+22,y+7,z,251,15); mc.drawLine(x+21,y+8,z,x+21,y+9,z,251,15); mc.drawLine(x+20,y+7,z,x+17,y+10,z,251,15); mc.setBlock(x+18,y+10,z,251,15); mc.drawLine(x+17,y+10,z,x+17,y+14,z,251,15); mc.drawLine(x+16,y+13,z,x+16,y+14,z,251,15); mc.drawLine(x+16,y+13,z,x+16,y+14,z,251,15); mc.drawLine(x+16,y+13,z,x+16,y+14,z,251,15); mc.drawLine(x+20,y+15,z,x+25,y+15,z,0,0); mc.drawLine(x+14,y+15,z,x+18,y+15,z,251,15); mc.fillBlocks(x+4,y+25,z,x+10,y+28,z,251,11); mc.fillBlocks(x+12,y+27,z,x+18,y+24,z,251,11); mc.fillBlocks(x+16,y+23,z,x+20,y+19,z,251,11); mc.setBlock(x+21,y+21,z,251,11); mc.fillBlocks(x+10,y+22,z,x+11,y+25,z,251,4); mc.drawLine(x+12,y+29,z,x+15,y+29,z,251,14); mc.drawLine(x+15,y+29,z,x+18,y+26,z,251,14); mc.setBlock(x+15,y+28,z,251,14); mc.fillBlocks(x+22,y+27,z,x+24,y+29,z,251,14); mc.setBlock(x+23,y+28,z,251,4); mc.drawLine(x+4,y+20,z,x+4,y+24,z,251,15); mc.setBlock(x+7,y+23,z,251,15); mc.setBlock(x+6,y+22,z,251,15); mc.setBlock(x+7,y+20,z,251,15); mc.setBlock(x+7,y+21,z,251,15); mc.setBlock(x+13,y+22,z,251,15); mc.setBlock(x+14,y+21,z,251,15); mc.setBlock(x+13,y+19,z,251,15); mc.setBlock(x+13,y+20,z,251,15); mc.setBlock(x+9,y+18,z,251,15); mc.drawLine(x+18,y+15,z,x+18,y+18,z,251,15); mc.drawLine(x+19,y+18,z,x+22,y+21,z,251,15); mc.drawLine(x+21,y+22,z,x+21,y+23,z,251,15); mc.setBlock(x+17,y+18,z,251,15); mc.setBlock(x+17,y+29,z,251,15); mc.drawLine(x+19,y+22,z,x+21,y+23,z,251,15); mc.drawLine(x+17,y+21,z,x+20,y+24,z,251,15); mc.drawLine(x+19,y+24,z,x+29,y+26,z,251,15); mc.setBlock(x+18,y+25,z,251,15); mc.setBlock(x+17,y+25,z,251,15); mc.setBlock(x+16,y+24,z,251,15); mc.setBlock(x+15,y+22,z,251,15); mc.setBlock(x+15,y+23,z,251,15); mc.setBlock(x+14,y+23,z,251,15); mc.setBlock(x+14,y+24,z,251,15); mc.setBlock(x+14,y+24,z,251,15); mc.setBlock(x+13,y+24,z,251,15); mc.setBlock(x+12,y+25,z,251,15); mc.setBlock(x+11,y+23,z,251,15); mc.setBlock(x+11,y+22,z,251,15); mc.setBlock(x+10,y+21,z,251,15); mc.drawLine(x+9,y+21,z,x+9,y+25,z,251,15); mc.drawLine(x+5,y+25,z,x+10,y+25,z,251,15); mc.setBlock(x+17,y+26,z,251,15); mc.drawLine(x+18,y+27,z,x+16,y+29,z,251,15); mc.drawLine(x+12,y+30,z,x+16,y+30,z,251,15); mc.setBlock(x+17,y+31,z,251,15); mc.drawLine(x+18,y+32,z,x+20,y+32,z,251,15); mc.setBlock(x+21,y+31,z,251,15); mc.drawLine(x+22,y+30,z,x+24,y+30,z,251,15); mc.drawLine(x+22,y+26,z,x+24,y+26,z,251,15); mc.drawLine(x+25,y+27,z,x+25,y+29,z,251,15); mc.drawLine(x+21,y+27,z,x+21,y+29,z,251,15); mc.setBlock(x+24,y+29,z,251,15); mc.setBlock(x+22,y+29,z,251,15); mc.setBlock(x+22,y+27,z,251,15); mc.setBlock(x+24,y+27,z,251,15); mc.drawLine(x+15,y+27,z,x+16,y+27,z,251,15); mc.drawLine(x+11,y+28,z,x+14,y+28,z,251,15); mc.drawLine(x+11,y+26,z,x+11,y+29,z,251,15); mc.drawLine(x+4,y+29,z,x+10,y+29,z,251,15); mc.drawLine(x+7,y+28,z,x+14,y+28,z,251,15); mc.drawLine(x+22,y+25,z,x+26,y+25,z,0,0); mc.drawLine(x+25,y+26,z,x+29,y+26,z,0,0); mc.setBlock(x+21,y+24,z,0,0); mc.setBlock(x+20,y+23,z,251,11); mc.setBlock(x+19,y+22,z,251,11); mc.setBlock(x+17,y+19,z,251,15); mc.setBlock(x+16,y+19,z,251,15); mc.setBlock(x+16,y+20,z,251,15); mc.setBlock(x+16,y+21,z,251,15); mc.setBlock(x+12,y+24,z,251,15); mc.setBlock(x+19,y+25,z,251,15); mc.setBlock(x+19,y+26,z,251,15); mc.drawLine(x+7,y+28,z,x+10,y+28,z,251,11); mc.setBlock(x+7,y+28,z,251,15); mc.setBlock(x+8,y+26,z,251,15); mc.setBlock(x+8,y+27,z,251,15); mc.setBlock(x+3,y+28,z,251,15); mc.setBlock(x+4,y+27,z,251,15); mc.setBlock(x+5,y+26,z,251,15); mc.setBlock(x+3,y+25,z,251,15); mc.setBlock(x+3,y+26,z,251,15); mc.setBlock(x+2,y+26,z,251,15); mc.setBlock(x+2,y+27,z,251,15); mc.setBlock(x+3,y+27,z,251,11); return 0; }