#include <iostream> #include <string> #include "Windows.h" #include "minecraft.h" TxMinecraft mc; using namespace std; int main(int argc, char** argv) { bool con=mc.ConnectMinecraft("zk","2839fa7ac28b4f7d8952cc46c1f179ec"); if(!con) { cout<<"连接失败"<<endl; return 0; } int x,y,z,id=24,data=1; mc.setPlayerFly("wangshuo"); mc.drawLine(x+10,y,z,x,y+10,z,id,data); mc.drawLine(x,y+10,z,x+6,y+16,z,id,data); mc.drawLine(x+15,y+4,z,x+7,y+12,z,id,data); mc.drawLine(x+15,y+4,z+0,x+19,y+8,z+0,id,data); mc.drawLine(x+7,y+0,z+0,x+11,y+10,z+0,id,data); system("pause"); return 0; }
标签:mc,神殿,int,沙漠,include,con From: https://www.cnblogs.com/w6826301/p/17535998.html