#include <iostream> #include "minecraft.h" #include <string> using namespace std; TxMinecraft mc; int x=0,y=0,z=0; int main(int argc, char** argv) { bool con=mc.ConnectMinecraft("zk.makeblock.net.cn","a9d44e758f6e4cf8b2da2624156f24d3"); if(!con){ cout<<"连接失败"; return 0; } mc.fillBlocks(x,y,z,x+50,y+50,z+50,0,0); //for() mc.fillBlocks(x,y,z+p,x+50,y+50,z+p,24,0); mc.drawLine(x+10,y+0,z+p,x+0,y+10,z+p,251,14); mc.drawLine(x+0,y+10,z+p,x+6,y+16,z+p,251,14); mc.drawLine(x+6,y+16,z+p,x+6,y+25,z+p,251,14); mc.drawLine(x+6,y+25,z+p,x+0,y+41,z+p,251,14); mc.drawLine(x+0,y+41,z+p,x+9,y+50,z+p,251,14); mc.drawLine(x+15,y+50,z+p,x+25,y+40,z+p,251,14); mc.drawLine(x+25,y+40,z+p,x+35,y+50,z+p,251,14); mc.drawLine(x+41,y+50,z+p,x+50,y+41,z+p,251,14); mc.drawLine(x+50,y+41,z+p,x+44,y+35,z+p,251,14); mc.drawLine(x+44,y+35,z+p,x+44,y+16,z+p,251,14); mc.drawLine(x+44,y+16,z+p,x+50,y+10,z+p,251,14); mc.drawLine(x+50,y+10,z+p,x+40,y+0,z+p,251,14); mc.drawLine(x+29,y+0,z+p,x+29,y+12,z+p,251,14); mc.drawLine(x+21,y+0,z+p,x+21,y+12,z+p,251,14); mc.drawLine(x+29,y+12,z+p,x+25,y+8,z+p,251,14); mc.drawLine(x+25,y+8,z+p,x+25,y+7,z+p,251,14); mc.drawLine(x+25,y+8,z+p,x+21,y+12,z+p,251,14); mc.drawLine(x+15,y+4,z+p,x+7,y+12,z+p,251,14); mc.drawLine(x+7,y+12,z+p,x+11,y+16,z+p,251,14); mc.drawLine(x+15,y+4,z+p,x+19,y+8,z+p,251,14); mc.drawLine(x+19,y+8,z+p,x+8,y+19,z+p,251,14); mc.drawLine(x+8,y+19,z+p,x+19,y+30,z+p,251,14); mc.drawLine(x+19,y+30,z+p,x+7,y+42,z+p,251,14); mc.drawLine(x+10,y+39,z+p,x+16,y+45,z+p,251,14); mc.drawLine(x+16,y+45,z+p,x+13,y+48,z+p,251,14); mc.drawLine(x+13,y+48,z+p,x+7,y+42,z+p,251,14); mc.drawLine(x+50-15,y+4,z+p,x+50-7,y+12,z+p,251,14); mc.drawLine(x+50-7,y+12,z+p,x+50-11,y+16,z+p,251,14); mc.drawLine(x+50-15,y+4,z+p,x+50-19,y+8,z+p,251,14); mc.drawLine(x+50-19,y+8,z+p,x+50-8,y+19,z+p,251,14); mc.drawLine(x+50-8,y+19,z+p,x+50-19,y+30,z+p,251,14); mc.drawLine(x+50-19,y+30,z+p,x+50-7,y+42,z+p,251,14); mc.drawLine(x+50-10,y+39,z+p,x+50-16,y+45,z+p,251,14); mc.drawLine(x+50-16,y+45,z+p,x+50-13,y+48,z+p,251,14); mc.drawLine(x+50-13,y+48,z+p,x+50-7,y+42,z+p,251,14); mc.drawLine(x+25,y+15,z+p,x+21,y+19,z+p,251,14); mc.drawLine(x+25,y+15,z+p,x+29,y+19,z+p,251,14); mc.drawLine(x+21,y+19,z+p,x+21,y+32,z+p,251,14); mc.drawLine(x+29,y+19,z+p,x+29,y+32,z+p,251,14); mc.drawLine(x+29,y+32,z+p,x+25,y+36,z+p,251,14); mc.drawLine(x+21,y+32,z+p,x+25,y+36,z+p,251,14); return 0; }
标签:mc,神殿,int,沙漠,c++,include,con From: https://www.cnblogs.com/wangyueshuo/p/17535997.html