gd2

#include <iostream>
#include "minecraft.h"
#include <string>
using namespace std;
TxMinecraft mc;
int x=699,y=144,z=10277;
int main(int argc, char** argv) {
bool con=mc.ConnectMinecraft("zk.makeblock.net.cn","919b005179e840e1bf78fef437b2f298");
    if(!con){
    	cout<<"连接失败";
    	return 0;
    }
    mc.setPlayerFly("陈若麟");
    int id=251,data=15;
    //右 
	mc.drawLine(x+11,y+1,z,x+6,y+6,z,id,data);
	mc.setBlock(x+8,y+5,z,id,data);
	mc.drawLine(x+6,y+7,z,x+4,y+9,z,id,data);
	mc.setBlock(x+4,y+10,z,id,data);
	mc.drawLine(x+3,y+11,z,x+3,y+14,z,id,data);
	mc.setBlock(x+4,y+15,z,id,data);
    return 0;
}

  

posted @ 2024-02-20 15:54  陈若麟  阅读(10)  评论(0编辑  收藏  举报