#include <iostream>
#include "Windows.h"
#include "minecraft.h"
TxMinecraft mc;
using namespace std;
int id=179,data=1;
void xian(int x,int y,int z){
    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+6,y+16,z,x+6,y+35,z,id,data);
    mc.drawLine(x+5,y+3,z,x,y+41,z,id,data);
    mc.drawLine(x,y+41,z,x+9,y+50,z,id,data);
    mc.drawLine(x+15,y+50,z,x+25,y+50,z,id,data);
    mc.drawLine(x+25,y+50,z,x+35,y+50,z,id,data);
    mc.drawLine(x+41,y+50,z,x+50,y+41,z,id,data);
    mc.drawLine(x+50,y+41,z,x+44,y+35,z,id,data);
    mc.drawLine(x+44,y+35,z,x+44,y+16,z,id,data);
    mc.drawLine(x+44,y+16,z,x+50,y+10,z,id,data);
    mc.drawLine(x+50,y+10,z,x+40,y,z,id,data);
    mc.drawLine(x+21,y,z,x+21,y+12,z,id,data);
    mc.drawLine(x+22,y+11,z,x+25,y+8,z,id,data);
    mc.setBlock(x+25,y+7,z,id,data);
    mc.drawLine(x+25,y+8,z,x+29,y+12,z,id,data);
    mc.drawLine(x+29,y+12,z,x+29,y,z,id,data);
    mc.drawLine(x+15,y+4,z,x+7,y+12,z,id,data);
    mc.drawLine(x+15,y+4,z,x+19,y+5,z,id,data);
    mc.drawLine(x+19,y+5,z,x+8,y+16,z,id,data);
    mc.drawLine(x+7,y+12,z,x+11,y+16,z,id,data);
    mc.drawLine(x+8,y+19,z,x+19,y+30,z,id,data);
    mc.drawLine(x+19,y+30,z,x+7,y+42,z,id,data);
    mc.drawLine(x+8,y+42,z,x+13,y+48,z,id,data);
    mc.drawLine(x+10,y+39,z,x+16,y+45,z,id,data);
    mc.drawLine(x+16,y+45,z,x+13,y+48,z,id,data);
    mc.drawLine(x+25,y+15,z,x+21,y+19,z,id,data);
    mc.drawLine(x+21,y+19,z,x+21,y+32,z,id,data);
    mc.drawLine(x+21,y+32,z,x+25,y+36,z,id,data);
    mc.drawLine(x+25,y+15,z,x+29,y+19,z,id,data);
    mc.drawLine(x+29,y+19,z,x+29,y+32,z,id,data);
    mc.drawLine(x+29,y+32,x+25,y+36,z,id,data);
    mc.drawLine(x+35,y+4,z,x+31,y+8,z,id,data);
    mc.drawLine(x+35,y+4,z,x+43,y+43,z,id,data);
    mc.drawLine(x+31,y+8,z,x+42,y+19,z,id,data);
    mc.drawLine(x+43,y+12,z,x+39,y+16,z,id,data);
    mc.drawLine(x+42,y+19,z,x+31,y+30,z,id,data);
    mc.drawLine(x+31,y+30,z,x+43,y+42,z,id,data);
    mc.drawLine(x+43,y+42,z,x+37,y+48,z,id,data);
    mc.drawLine(x+37,y+48,z,x+34,y+45,z,id,data);
    mc.drawLine(x+34,y+45,z,x+40,y+39,z,id,data);
}
int main(int argc, char** argv) {
    bool con=mc.ConnectMinecraft("zk","3f75c260388d4ed0a24574d340bf4e81");
    if(!con){
        cout<<"...";
    }
    int x,y,z;
    cin>>x>>y>>z;
    xian(x,y,z);
}

 

posted on 2023-07-07 20:24  黛玉醉打将门神  阅读(9)  评论(0编辑  收藏  举报