僵尸小白
#include <iostream> #include "minecraft.h" TxMinecraft mc; using namespace std; int main() { bool con=mc.ConnectMinecraft("zk","919b005179e840e1bf78fef437b2f298"); if(!con){ cout<<"失败"; } bool fly=true; mc.setPlayerFly("陈若麟",fly); int x,y,z; cin>>x>>y>>z; mc.drawLine(x+18,y+32,z,x+20,y+32,z,251,15); mc.setBlock(x+17,y+31,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+12,y+30,z,x+16,y+30,z,251,15); mc.drawLine(x+21,y+29,z,x+25,y+29,z,251,15); mc.drawLine(x+4,y+29,z,x+16,y+29,z,251,15); mc.drawLine(x+12,y+29,z,x+15,y+29,z,35,14); mc.setBlock(x+23,y+29,z,35,6); mc.drawLine(x+25,y+29,z,x+25,y+27,z,251,15); mc.drawLine(x+21,y+29,z,x+21,y+27,z,251,15); mc.drawLine(x+21,y+27,z,x+25,y+27,z,251,15); mc.drawLine(x+22,y+26,z,x+24,y+26,z,251,15); mc.setBlock(x+22,y+28,z,35,6); mc.setBlock(x+24,y+28,z,35,6); mc.setBlock(x+23,y+27,z,35,6); mc.drawLine(x+11,y+28,z,x+17,y+28,z,251,15); mc.drawLine(x+15,y+28,z,x+16,y+28,z,35,14); mc.drawLine(x+10,y+28,z,x+4,y+28,z,251,15); mc.setBlock(x+23,y+28,z,35,4); mc.drawLine(x+10,y+28,z,x+4,y+28,z,251,11); mc.setBlock(x+7,y+28,z,251,15); mc.setBlock(x+3,y+28,z,251,15); mc.drawLine(x+3,y+27,z,x+14,y+27,z,251,11); mc.setBlock(x+4,y+27,z,251,15); mc.setBlock(x+8,y+27,z,251,15); mc.fillBlocks(x+5,y+1,z,x+14,y+11,z,251,3); mc.drawLine(x+6,y+3,z,x+6,y+9,z,251,15); mc.drawLine(x+12,y+4,z,x+12,y+9,z,251,15); mc.drawLine(x+6,y+3,z,x+11,y+3,z,251,15); mc.drawLine(x+7,y+10,z,x+11,y+10,z,251,15); mc.setBlock(x+8,y+7,z,251,15); mc.setBlock(x+9,y+6,z,251,15); mc.setBlock(x+10,y+7,z,251,15); mc.setBlock(x+5,y+11,z,251,15); mc.setBlock(x+14,y+11,z,251,15); mc.setBlock(x+9,y+11,z,251,15); mc.setBlock(x+10,y+11,z,251,5); mc.setBlock(x+11,y+11,z,251,15); mc.drawLine(x+15,y+1,z,x+15,y+8,z,251,3); mc.drawLine(x+16,y+4,z,x+16,y+6,z,251,3); mc.drawLine(x+17,y+3,z,x+17,y+4,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.setBlock(x+7,y+12,z,251,3); mc.drawLine(x+8,y+14,z,x+13,y+14,z,251,15); mc.setBlock(x+10,y+14,z,0,0); mc.drawLine(x+12,y+12,z,x+12,y+13,z,251,15); mc.drawLine(x+10,y+12,z,x+10,y+13,z,251,15); mc.drawLine(x+8,y+12,z,x+8,y+13,z,251,15); mc.drawLine(x+13,y+12,z,x+15,y+10,z,251,15); mc.drawLine(x+7,y+13,z,x+4,y+10,z,251,15); mc.drawLine(x+15,y+9,z,x+15,y+10,z,251,15); mc.drawLine(x+16,y+7,z,x+16,y+8,z,251,15); mc.drawLine(x+17,y+5,z,x+17,y+6,z,251,15); mc.drawLine(x+18,y+3,z,x+18,y+4,z,251,15); mc.drawLine(x+19,y+2,z,x+19,y+3,z,251,15); mc.drawLine(x+18,y+1,z,x+15,y+4,z,251,15); mc.drawLine(x+16,y+1,z,x+16,y+3,z,251,15); mc.drawLine(x+3,y,z,x+17,y,z,251,15); mc.drawLine(x+3,y,z,x,y+3,z,251,15); mc.drawLine(x+4,y+1,z,x+2,y+3,z,251,15); mc.drawLine(x+2,y+3,z,x+2,y+6,z,251,15); mc.setBlock(x+1,y+5,z,251,15); mc.drawLine(x,y+3,z,x,y+4,z,251,15); mc.drawLine(x+4,y+9,z,x+4,y+10,z,251,15); mc.drawLine(x+3,y+7,z,x+3,y+8,z,251,15); mc.drawLine(x+24,y+6,z,x+24,y+9,z,251,15); mc.drawLine(x+18,y+15,z,x+6,y+15,z,251,15); mc.drawLine(x+9,y+15,z,x+13,y+15,z,0,0); mc.drawLine(x+18,y+15,z,x+18,y+17,z,251,15); mc.drawLine(x+17,y+18,z,x+19,y+18,z,251,15); mc.drawLine(x+19,y+18,z,x+22,y+21,z,251,15); mc.drawLine(x+16,y+19,z,x+16,y+21,z,251,15); mc.drawLine(x+17,y+19,z,x+17,y+21,z,251,15); mc.drawLine(x+21,y+22,z,x+21,y+23,z,251,15); mc.drawLine(x+21,y+23,z,x+19,y+25,z,251,15); mc.drawLine(x+19,y+23,z,x+19,y+26,z,251,15); mc.drawLine(x+19,y+26,z,x+16,y+29,z,251,15); mc.drawLine(x+16,y+13,z,x+16,y+14,z,251,15); mc.drawLine(x+17,y+10,z,x+17,y+14,z,251,15); mc.drawLine(x+18,y+9,z,x+18,y+10,z,251,15); mc.setBlock(x+20,y+17,z,0,0); mc.setBlock(x+18,y+22,z,251,15); mc.drawLine(x+4,y+17,z,x+4,y+18,z,251,15); mc.setBlock(x+5,y+16,z,251,15); mc.setBlock(x+5,y+19,z,251,15); mc.drawLine(x+4,y+20,z,x+4,y+24,z,251,15); mc.drawLine(x+3,y+25,z,x+10,y+25,z,251,15); mc.drawLine(x+9,y+21,z,x+9,y+24,z,251,15); mc.setBlock(x+9,y+18,z,251,15); mc.setBlock(x+6,y+22,z,251,15); mc.setBlock(x+7,y+23,z,251,15); mc.setBlock(x+7,y+21,z,251,15); mc.setBlock(x+7,y+20,z,251,15); mc.setBlock(x+13,y+22,z,251,15); mc.setBlock(x+13,y+20,z,251,15); mc.setBlock(x+13,y+19,z,251,15); mc.setBlock(x+14,y+21,z,251,15); mc.drawLine(x+11,y+22,z,x+11,y+23,z,251,15); mc.setBlock(x+10,y+21,z,251,15); mc.drawLine(x+18,y+9,z,x+20,y+7,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+23,y+9,z,x+25,y+9,z,251,15); mc.setBlock(x+22,y+10,z,251,15); mc.setBlock(x+23,y+8,z,251,15); mc.setBlock(x+23,y+6,z,251,15); mc.setBlock(x+15,y+28,z,35,14); mc.setBlock(x+16,y+28,z,35,14); mc.setBlock(x+17,y+27,z,35,14); mc.setBlock(x+18,y+26,z,35,14); mc.setBlock(x+3,y+28,z,251,15); mc.setBlock(x+17,y+20,z,0,0); mc.setBlock(x+22,y+21,z,251,15); mc.setBlock(x+21,y+20,z,251,15); mc.setBlock(x+20,y+19,z,251,15); mc.setBlock(x+19,y+18,z,251,15); mc.setBlock(x+18,y+18,z,251,15); mc.setBlock(x+17,y+18,z,251,15); mc.drawLine(x+18,y+15,z,x+18,y+17,z,251,15); mc.drawLine(x+14,y+15,z,x+18,y+15,z,251,15); mc.setBlock(x+7,y+20,z,251,15); mc.setBlock(x+7,y+21,z,251,15); mc.setBlock(x+6,y+22,z,251,15); mc.setBlock(x+7,y+23,z,251,15); mc.setBlock(x+9,y+18,z,251,15); mc.setBlock(x+13,y+13,z,251,15); mc.setBlock(x+13,y+14,z,251,15); mc.setBlock(x+20,y+21,z,251,15); mc.setBlock(x+13,y+22,z,251,15); mc.drawLine(x+9,y+21,z,x+9,y+24,z,251,15); mc.setBlock(x+10,y+21,z,251,15); mc.setBlock(x+11,y+22,z,251,15); mc.setBlock(x+11,y+23,z,251,15); mc.setBlock(x+12,y+25,z,251,15); mc.drawLine(x+12,y+24,z,x+14,y+24,z,251,15); mc.setBlock(x+14,y+23,z,251,15); mc.setBlock(x+15,y+23,z,251,15); mc.setBlock(x+16,y+24,z,251,15); mc.setBlock(x+15,y+22,z,251,15); mc.setBlock(x+18,y+22,z,251,15); mc.setBlock(x+17,y+19,z,251,15); mc.setBlock(x+17,y+21,z,251,15); mc.drawLine(x+16,y+19,z,x+16,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+14,y+21,z,251,15); mc.drawLine(x+6,y+3,z,x+6,y+9,z,251,15); mc.drawLine(x+12,y+4,z,x+12,y+9,z,251,15); mc.drawLine(x+7,y+3,z,x+11,y+3,z,251,15); mc.drawLine(x+7,y+10,z,x+11,y+10,z,251,15); mc.setBlock(x+9,y+6,z,251,15); mc.setBlock(x+8,y+7,z,251,15); mc.setBlock(x+10,y+7,z,251,15); mc.setBlock(x+14,y+9,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+4,y+20,z,x+4,y+24,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+28,z,251,15); mc.setBlock(x+4,y+27,z,251,15); mc.setBlock(x+5,y+26,z,251,15); mc.drawLine(x+5,y+25,z,x+10,y+25,z,251,15); mc.drawLine(x+4,y+29,z,x+11,y+29,z,251,15); mc.setBlock(x+7,y+28,z,251,15); mc.setBlock(x+11,y+27,z,251,15); mc.setBlock(x+11,y+26,z,251,15); mc.setBlock(x+11,y+28,z,251,15); mc.drawLine(x+12,y+28,z,x+14,y+28,z,251,15); mc.drawLine(x+12,y+30,z,x+16,y+30,z,251,15); mc.setBlock(x+15,y+27,z,251,15); mc.setBlock(x+16,y+27,z,251,15); mc.setBlock(x+16,y+29,z,251,15); mc.setBlock(x+17,y+28,z,251,15); mc.setBlock(x+18,y+27,z,251,15); mc.drawLine(x+19,y+23,z,x+19,y+26,z,251,15); mc.setBlock(x+17,y+26,z,251,15); mc.setBlock(x+17,y+25,z,251,15); mc.setBlock(x+18,y+25,z,251,15); mc.setBlock(x+20,y+24,z,251,15); mc.setBlock(x+21,y+22,z,251,15); mc.setBlock(x+21,y+23,z,251,15); mc.setBlock(x+22,y+21,z,251,15); mc.setBlock(x+21,y+20,z,251,15); mc.setBlock(x+14,y+9,z,251,3); mc.setBlock(x+8,y+26,z,251,15); mc.drawLine(x+4,y+25,z,x+5,y+26,z,251,11); mc.drawLine(x+6,y+26,z,x+7,y+26,z,251,11); mc.fillBlocks(x+9,y+26,z,x+10,y+28,z,251,11); mc.fillBlocks(x+12,y+26,z,x+14,y+27,z,251,11); mc.fillBlocks(x+13,y+25,z,x+16,y+26,z,251,11); mc.setBlock(x+15,y+24,z,251,11); mc.fillBlocks(x+17,y+23,z,x+18,y+24,z,251,11); mc.fillBlocks(x+16,y+22,z,x+17,y+23,z,251,11); mc.fillBlocks(x+18,y+19,z,x+19,y+21,z,251,11); mc.fillBlocks(x+19,y+20,z,x+20,y+22,z,251,11); mc.setBlock(x+21,y+21,z,251,11); mc.setBlock(x+20,y+23,z,251,11); mc.setBlock(x+17,y+20,z,251,11); mc.drawLine(x+10,y+22,z,x+10,y+24,z,251,4); mc.drawLine(x+11,y+24,z,x+11,y+25,z,251,4); mc.setBlock(x+4,y+26,z,251,11); int id=0,data=0; mc.setBlock(x+10,y+11,z+0,id+251,data+5); mc.setBlock(x+9,y+12,z+0,id+251,data+5); mc.setBlock(x+11,y+12,z+0,id+251,data+5); mc.setBlock(x+9,y+13,z+0,id+251,data+5); mc.setBlock(x+11,y+13,z+0,id+251,data+5); mc.setBlock(x+23,y+7,z+0,id+35,data+13); mc.setBlock(x+22,y+8,z+0,id+35,data+13); mc.setBlock(x+22,y+9,z+0,id+35,data+13); mc.setBlock(x+17,y+1,z+0,id+251,data+5); mc.setBlock(x+18,y+2,z+0,id+251,data+5); mc.setBlock(x+3,y+1,z+0,id+251,data+5); mc.setBlock(x+2,y+2,z+0,id+251,data+5); mc.setBlock(x+1,y+3,z+0,id+251,data+5); mc.setBlock(x+1,y+4,z+0,id+251,data+5); //-58 71 -294 return 0; }