#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); return 0; }
标签:15,僵尸,mc,drawLine,28,小白,setBlock,251 From: https://www.cnblogs.com/As10016/p/18049626