#include <iostream> #include "minecraft.h" using namespace std; TxMinecraft mc; int x=-73,y=143,z=-254; int main(int argc, char** argv) { bool con=mc.ConnectMinecraft("zk.makeblock.net.cn","a9d44e758f6e4cf8b2da2624156f24d3"); if(!con){ cout<<"连接失败"; return 0; } mc.setPlayerFly("wangyueshuo"); cout<<"请输入坐标,空格分隔"<<endl; //下体 mc.drawLine(x+3,y+3,z,x+3,y+6,z,251,15); mc.setBlock(x+4,y+2,z,251,15); mc.drawLine(x+5,y+1,z,x+6,y+1,z,251,15); mc.drawLine(x+7,y+0,z,x+10,y+0,z,251,15); mc.drawLine(x+11,y+1,z,x+12,y+1,z,251,15); mc.drawLine(x+13,y+2,z,x+14,y+2,z,251,15); mc.setBlock(x+15,y+3,z,251,15); mc.setBlock(x+16,y+4,z,251,15); mc.drawLine(x+16,y+5,z,x+9,y+12,z,251,15); mc.drawLine(x+8,y+12,z,x+4,y+8,z,251,15); mc.setBlock(x+4,y+7,z,251,15); mc.setBlock(x+17,y+5,z,251,15); mc.drawLine(x+9,y+13,z,x+4,y+8,z,251,15); mc.drawLine(x+12,y+16,z,x+4,y+8,z,251,15); mc.drawLine(x+18,y+6,z,x+19,y+6,z,251,15); mc.setBlock(x+19,y+8,z,251,15); mc.drawLine(x+20,y+7,z,x+27,y+7,z,251,15); mc.setBlock(x+28,y+8,z,251,15); mc.drawLine(x+27,y+6,z,x+29,y+6,z,251,15); mc.setBlock(x+29,y+5,z,251,15); mc.setBlock(x+30,y+4,z,251,15); mc.drawLine(x+31,y+3,z,x+32,y+3,z,251,15); mc.drawLine(x+33,y+2,z,x+34,y+2,z,251,15); mc.drawLine(x+35,y+1,z,x+39,y+1,z,251,15); mc.setBlock(x+40,y+2,z,251,15); mc.drawLine(x+41,y+3,z,x+41,y+7,z,251,15); mc.drawLine(x+40,y+8,z,x+40,y+9,z,251,15); mc.drawLine(x+39,y+10,z,x+39,y+11,z,251,15); mc.drawLine(x+38,y+12,z,x+35,y+15,z,251,15); mc.drawLine(x+30,y+7,z,x+36,y+13,z,251,15); mc.setBlock(x+35,y+16,z,251,15); mc.drawLine(x+16,y+6,z,x+17,y+6,z,251,14); mc.drawLine(x+15,y+7,z,x+19,y+7,z,251,14); mc.drawLine(x+28,y+7,z,x+29,y+7,z,251,14); mc.drawLine(x+14,y+8,z,x+18,y+8,z,251,14); mc.drawLine(x+20,y+8,z,x+27,y+8,z,251,14); mc.drawLine(x+29,y+8,z,x+30,y+8,z,251,14); mc.drawLine(x+13,y+9,z,x+31,y+9,z,251,14); mc.drawLine(x+12,y+10,z,x+32,y+10,z,251,14); mc.drawLine(x+11,y+11,z,x+33,y+11,z,251,14); mc.drawLine(x+10,y+12,z,x+34,y+12,z,251,14); mc.drawLine(x+35,y+13,z,x+10,y+13,z,251,14); mc.drawLine(x+11,y+14,z,x+35,y+14,z,251,14); mc.drawLine(x+20,y+14,z,x+30,y+14,z,251,15); mc.drawLine(x+12,y+15,z,x+16,y+15,z,251,14); mc.drawLine(x+17,y+15,z,x+19,y+15,z,251,15); mc.drawLine(x+31,y+15,z,x+32,y+15,z,251,15); mc.drawLine(x+33,y+15,z,x+34,y+15,z,251,14); mc.drawLine(x+13,y+16,z,x+14,y+16,z,251,14); mc.drawLine(x+15,y+16,z,x+16,y+16,z,251,15); mc.setBlock(x+33,y+16,z,251,15); mc.setBlock(x+34,y+16,z,251,14); mc.drawLine(x+13,y+17,z,x+14,y+17,z,251,15); mc.drawLine(x+31,y+17,z,x+39,y+17,z,251,15); mc.setBlock(x+13,y+18,z,251,15); mc.drawLine(x+29,y+18,z,x+30,y+18,z,251,15); mc.setBlock(x+33,y+18,z,251,15); mc.drawLine(x+34,y+18,z,x+39,y+18,z,251,14); mc.drawLine(x+40,y+18,z,x+41,y+18,z,251,15); mc.setBlock(x+13,y+19,z,251,15); mc.drawLine(x+27,y+19,z,x+28,y+19,z,251,15); mc.setBlock(x+32,y+19,z,251,15); mc.drawLine(x+33,y+19,z,x+41,y+19,z,251,14); mc.setBlock(x+42,y+19,z,251,15); mc.setBlock(x+13,y+20,z,251,15); mc.drawLine(x+25,y+20,z,x+26,y+20,z,251,15); mc.setBlock(x+32,y+20,z,251,15); mc.drawLine(x+33,y+20,z,x+41,y+20,z,251,14); mc.setBlock(x+42,y+20,z,251,15); mc.drawLine(x+14,y+21,z,x+16,y+21,z,251,15); mc.drawLine(x+23,y+21,z,x+24,y+21,z,251,15); mc.setBlock(x+31,y+21,z,251,15); mc.drawLine(x+32,y+21,z,x+41,y+21,z,251,14); mc.setBlock(x+42,y+21,z,251,15); mc.setBlock(x+14,y+22,z,251,15); mc.drawLine(x+15,y+22,z,x+16,y+22,z,251,14); mc.setBlock(x+17,y+22,z,251,15); mc.setBlock(x+31,y+22,z,251,15); mc.drawLine(x+32,y+22,z,x+41,y+22,z,251,14); mc.setBlock(x+42,y+22,z,251,15); mc.setBlock(x+14,y+23,z,251,15); mc.drawLine(x+15,y+23,z,x+17,y+23,z,251,14); mc.setBlock(x+18,y+23,z,251,15); mc.setBlock(x+30,y+23,z,251,15); mc.drawLine(x+31,y+23,z,x+41,y+23,z,251,14); mc.setBlock(x+42,y+23,z,251,15); mc.setBlock(x+14,y+24,z,251,15); mc.drawLine(x+15,y+24,z,x+17,y+24,z,251,14); mc.setBlock(x+18,y+24,z,251,15); mc.setBlock(x+30,y+24,z,251,15); mc.drawLine(x+31,y+24,z,x+40,y+24,z,251,14); mc.setBlock(x+41,y+24,z,251,15); mc.setBlock(x+14,y+25,z,251,15); mc.drawLine(x+15,y+25,z,x+17,y+25,z,251,14); mc.setBlock(x+18,y+25,z,251,15); mc.setBlock(x+30,y+25,z,251,15); mc.drawLine(x+31,y+25,z,x+40,y+25,z,251,14); mc.drawLine(x+40,y+25,z,x+42,y+25,z,251,15); return 0; }
标签:咸蛋,MC,mc,int,超人,include,con From: https://www.cnblogs.com/wangyueshuo/p/17777919.html