#include <iostream>
#include "minecraft.h"
using namespace std;
TxMinecraft mc;
int main(){
bool c=true;
c=mc.ConnectMinecraft("zk","badaa4c2a1b546f1868517667456b050");
if(!c){
cout<<"连接失败"<<endl;
return 0;
}
else{
cout<<"连接成功"<<endl;
}
mc.sendChat("");
bool fly=true;
fly=mc.setPlayerFly("liuyouyi",true);
if(true){
cout<<"设置飞行成功";
}
int x,y,z,id,d;
x=11145;
y=105 ;
z=12210;
id=159;
d=12;
mc.drawLine(x+1,y,z,x+7,y,z,id,d);
return 0;
}