#include <iostream> #include <string> #include "minecraft.h" using namespace std; TxMinecraft mc; int main(int argc, char** argv) { bool con=mc.ConnectMinecraft("zk","08bd17c1ea594f2684182fd956c2d172"); if(!con){ cout<<"连接失败"; return 0; } mc.setPlayerFly("fushuxuan",true); int x,y,z; cout<<"坐标:"<<endl; cin>>x>>y>>z; mc.fillBlocks(x+3,y+1,z,x+15,y+11,z,35,11); mc.setBlock(x+3,y+11,z,0,0); mc.setBlock(x+4,y+11,z,0,0); mc.setBlock(x+15,y+11,z,0,0); mc.setBlock(x+14,y+9,z,0,0); mc.setBlock(x+7,y+12,z,35,11); mc.setBlock(x+17,y+3,z,35,11); mc.setBlock(x+17,y+4,z,35,11); mc.drawLine(x+16,y+4,z,x+16,y+6,z,35,11); mc.drawLine(x+3,y,z,x+17,y,z,35,15); mc.setBlock(x+0,y+3,z,35,15); mc.setBlock(x+0,y+4,z,35,15); mc.setBlock(x+1,y+2,z,35,15); mc.setBlock(x+1,y+5,z,35,15); mc.setBlock(x+2,y+1,z,35,15); mc.setBlock(x+2,y+3,z,35,15); mc.setBlock(x+2,y+4,z,35,15); mc.setBlock(x+2,y+5,z,35,15); mc.setBlock(x+2,y+6,z,35,15); mc.setBlock(x+3,y+2,z,35,15); mc.setBlock(x+4,y+1,z,35,15); mc.setBlock(x+15,y+4,z,35,15); mc.setBlock(x+16,y+1,z,35,15); mc.setBlock(x+16,y+2,z,35,15); mc.setBlock(x+16,y+3,z,35,15); mc.setBlock(x+17,y+2,z,35,15); mc.setBlock(x+17,y+5,z,35,15); mc.setBlock(x+17,y+6,z,35,15); mc.setBlock(x+18,y+1,z,35,15); mc.setBlock(x+18,y+3,z,35,15); mc.setBlock(x+18,y+4,z,35,15); mc.setBlock(x+19,y+2,z,35,15); mc.setBlock(x+19,y+3,z,35,15); mc.setBlock(x+3,y+7,z,35,15); mc.setBlock(x+3,y+8,z,35,15); mc.setBlock(x+4,y+9,z,35,15); mc.setBlock(x+4,y+10,z,35,15); mc.setBlock(x+5,y+11,z,35,15); mc.setBlock(x+6,y+12,z,35,15); mc.setBlock(x+7,y+13,z,35,15); mc.drawLine(x+8,y+12,z,x+8,y+15,z,35,15); mc.setBlock(x+9,y+11,z,35,15); mc.setBlock(x+11,y+11,z,35,15); mc.setBlock(x+10,y+12,z,35,15); mc.setBlock(x+10,y+13,z,35,15); mc.setBlock(x+12,y+12,z,35,15); mc.setBlock(x+12,y+13,z,35,15); mc.setBlock(x+9,y+14,z,35,15); mc.setBlock(x+11,y+14,z,35,15); mc.setBlock(x+12,y+14,z,35,15); mc.setBlock(x+13,y+14,z,35,15); mc.setBlock(x+6,y+15,z,35,15); mc.setBlock(x+7,y+15,z,35,15); mc.setBlock(x+16,y+7,z,35,15); mc.setBlock(x+16,y+8,z,35,15); mc.setBlock(x+15,y+9,z,35,15); mc.setBlock(x+15,y+10,z,35,15); mc.setBlock(x+14,y+11,z,35,15); mc.setBlock(x+13,y+12,z,35,15); mc.drawLine(x+6,y+3,z,x+6,y+9,z,35,15); mc.drawLine(x+12,y+4,z,x+12,y+9,z,35,15); mc.drawLine(x+7,y+3,z,x+11,y+3,z,35,15); mc.drawLine(x+7,y+10,z,x+11,y+10,z,35,15); mc.setBlock(x+9,y+6,z,35,15); mc.setBlock(x+8,y+7,z,35,15); mc.setBlock(x+10,y+7,z,35,15); // mc.setBlock(x+3,y+1,z,35,13); mc.setBlock(x+2,y+2,z,35,13); return 0; }
标签:11,12,15,僵尸,mc,35,小白,setBlock From: https://www.cnblogs.com/fushuxuan/p/18049629