#include <iostream> #include <string> #include "minecraft.h" using namespace std; TxMinecraft mc; int main(int argc, char** argv) { bool con =
#include <iostream> #include <string> #include "minecraft.h" using namespace std; TxMinecraft mc; int main(int argc, char** argv) { bool con = mc.ConnectMinecraft("zk.makeblock.net.cn","2839fa7ac28b4f7d8952cc46c1f179ec"); if(!con){ cout<<"连接失败"; } int x=1170; int y=3; int z=1223; int id=98; int data=0; mc.fillBlocks(x,y,z,x+5,y,z+5,id,data); mc.fillBlocks(x+1,y,z+1,x+4,y,z+4,id-98,data); mc.fillBlocks(x+14,y,z,x+15+4,y,z+5,id,data); mc.fillBlocks(x+14+1,y,z+1,x+15+3,y,z+4,id-98,data); mc.fillBlocks(x,y,z+14,x+5,y,z+5+14,id,data); mc.fillBlocks(x+1,y,z+1+14,x+4,y,z+4+14,id-98,data); mc.fillBlocks(x+14,y,z+14,x+15+4,y,z+5+14,id,data); mc.fillBlocks(x+14+1,y,z+1+14,x+15+3,y,z+4+14,id-98,data); mc.fillBlocks(x+5,y+1,z+1,x+4+10,y+2,z+1,id,data); mc.fillBlocks(x+5,y+1,z+18,x+4+10,y+2,z+18,id,data); mc.fillBlocks(x+1,y+1,z+5,x+1,y+2,z+4+10,id,data); mc.fillBlocks(x+18,y+1,z+5,x+18,y+2,z+4+10,id,data); mc.fillBlocks(x+5,y+3,z+1,x+4+10,y+3,z+1,id+11,data+2); mc.fillBlocks(x+5,y+3,z+18,x+4+10,y+3,z+18,id+11,data+3); mc.fillBlocks(x+1,y+3,z+5,x+1,y+3,z+4+10,id+11,data); mc.fillBlocks(x+18,y+3,z+5,x+18,y+3,z+4+10,id+11,data+1); mc.fillBlocks(x,y+1,z,x+5,y+2,z,id,data); mc.fillBlocks(x,y+1,z,x,y+2,z+5,id,data); mc.fillBlocks(x,y+3,z,x+5,y+3,z,id+11,data+2); mc.fillBlocks(x,y+3,z,x,y+3,z+5,id+11,data); mc.fillBlocks(x+19,y+1,z,x-5+19,y+2,z,id,data); mc.fillBlocks(x+19,y+1,z,x+19,y+2,z+5,id,data); mc.fillBlocks(x+19,y+3,z,x-5+19,y+3,z,id+11,data+2); mc.fillBlocks(x+19,y+3,z,x+19,y+3,z+5,id+11,data+1); mc.fillBlocks(x,y+1,z+19,x+5,y+2,z+19,id,data); mc.fillBlocks(x,y+1,z+19,x,y+2,z-5+19,id,data); mc.fillBlocks(x,y+3,z+19,x+5,y+3,z+19,id+11,data+3); mc.fillBlocks(x,y+3,z+19,x,y+3,z-5+19,id+11,data); return 0; }标签:钟楼,mc,int,namespace,char,完成,include,con From: https://www.cnblogs.com/w6826301/p/17231458.html