#include <iostream>
#include <string>
#include "Windows.h"
#include "minecraft.h"
#include <cstring>
TxMinecraft mc;
using namespace std;


struct Blook{
    int x;
    int y;
    int z;
    int id;
    int data;    
};
int main(int argc, char** argv) {
    bool con=mc.ConnectMinecraft("zk","2839fa7ac28b4f7d8952cc46c1f179ec");
    if(!con) {
        cout<<"连接失败"<<endl;
        return 0;
    }
    mc.setPlayerFly("wangshuo");
    
    
    Blook a[20];
    Blook b;
    b.x=1;
    b.y=0;
    b.z=0;
    b.id=143;
    b.data=4;
    a[0]=b;
    
    b.x=1;
    b.z=4;
    b.id=143;
    b.data=4;
    a[1]=b;
    
    b.x=1;
    b.z=2;
    b.id=143;
    b.data=3;
    a[2]=b;
    
    b.x=1;
    b.z=6;
    b.id=143;
    b.data=3;
    a[3]=b;
    
    b.x=1;
    b.z=1;
    b.id=112;
    b.data=0;
    a[4]=b;
    
    b.x=1;
    b.z=5;
    a[5]=b;
    
    b.x=0;
    b.z=1;
    b.id=139;
    b.data=0;
    a[6]=b;
    
    b.x=0;
    b.z=5;
    a[7]=b;
    
    b.x=11;
    b.z=2;
    b.id=143;
    b.data=4;
    a[8]=b;
    
    b.x=11;
    b.z=3;
    b.id=112;
    b.data=0;
    a[9]=b;
    
    b.x=11;
    b.z=4;
    b.id=143;
    b.data=3;
    a[10]=b;
    
    b.x=0;
    b.z=2;
    b.id=167;
    b.data=8;
    a[11]=b;
    
    b.x=0;
    b.z=4;
    b.id=167;
    b.data=8;
    a[12]=b;
    
    b.x=1;
    b.z=2;
    b.id=167;
    b.data=8;
    a[13]=b;
    
    b.x=1;
    b.z=4;
    b.id=167;
    b.data=8;
    a[14]=b;
    
    b.x=2;
    b.z=2;
    a[15]=b;
    
    b.x=2;
    b.z=4;
    a[16]=b;
    
    b.x=3;
    b.z=2;
    a[17]=b;
    
    b.x=3;
    b.z=4;
    a[18]=b;
    
    b.x=4;
    b.z=2;
    a[19]=b;
    
    b.x=4;
    b.z=4;
    a[20]=b;
    
    b.x=4;
    b.z=1;
    a[21]=b;
    
    b.x=4;
    b.z=5;
    a[22]=b;
    
    b.x=5;
    b.z=2;
    a[23]=b;
    
    b.x=5;
    b.z=4;
    a[24]=b;
    
    b.x=5;
    b.z=1;
    a[25]=b;
    
    b.x=5;
    b.z=5;
    a[26]=b;
    
    b.x=6;
    b.z=1;
    b.id=144;
    b.data=5;
    a[27]=b;
    
    b.x=6;
    b.z=5;
    b.id=144;
    b.data=5;
    a[28]=b;
    
    b.x=7;
    b.z=1;
    b.id=198;
    b.data=5;
    a[26]=b;
    
    b.x=7;
    b.z=5;
    b.id=198;
    b.data=5;
    a[30]=b;
    
    b.x=7;
    b.z=4;
    b.id=107;
    b.data=6;
    a[31]=b;
    
    b.x=7;
    b.z=2;
    b.id=107;
    b.data=6;
    a[32]=b;
    
    b.x=8;
    b.z=1;
    b.id=107;
    b.data=5;
    a[33]=b;
    
    b.x=8;
    b.z=5;
    b.id=107;
    b.data=5;
    a[34]=b;
    
    b.x=8;
    b.z=2;
    b.id=167;
    b.data=8;
    a[35]=b;
    
    b.x=8;
    b.z=4;
    b.id=167;
    b.data=8;
    a[36]=b;
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    system("pause");
    return 0;
}

 

posted on 2023-06-24 20:02  爱吃泡面的皮卡  阅读(5)  评论(0编辑  收藏  举报