#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=5007;
y=158;
z=4950;
id=251;
d=15;
mc.drawLine(x+2,y,z,x+18,y,z,id,d);
mc.drawLine(x+18,y+7,z,x,y+2,z,id,d);
mc.setBlock(x+19,y,z);
mc.setblock(x+20,y,z);
mc.drawLine(x+21,y+2,z,x,y+7,z,id,d);
mc.drawLine(x+22,y+7,z,x+92,y+7,z,id,d);
mc.drawLine(x+92,y+7,z,x+12,y+7,z,id,d);
mc.drawLine(x+96,y+13,z,x+21,y+13,z,id,d);