田野小路

#include <iostream>
#include <string>
#include "minecraft.h"
using namespace std;
TxMinecraft mc;
int main() {
bool con=mc.ConnectMinecraft("zk","919b005179e840e1bf78fef437b2f298");
if(!con){
	cout<<"连接失败";
	return 0;
}	
   bool fly=true;
    mc.setPlayerFly("陈若麟",fly);
int x,y,z,id,data;
cout<<"输入你的坐标";
cin>>x>>y>>z;
for(int i=0;i<50;i++){
mc.drawLine(x-3,y-1,z+i,x-2,y-1,z+i,9,0);
mc.drawLine(x+13,y-1,z+i,x+14,y-1,z+i,9,0);

mc.drawLine(x,y,z+i,x+11,y,z+i,2,0);
mc.drawLine(x+1,y+1,z+i,x+10,y+1,z+i,2,0);
mc.drawLine(x+2,y+2,z+i,x+9,y+2,z+i,2,0);
mc.drawLine(x+4,y+2,z+i,x+7,y+2,z+i,252,0);

mc.drawLine(x+3,y+2,z,x+3,y+2,z+i,43,0);

mc.drawLine(x+8,y+2,z,x+8,y+2,z+i,43,0);
}
for(int i=0;i<45;i++){
	if(i%9==0){
		mc.drawLine(x+2,y+3,z+i,x+2,y+7,z+i,113,0);
		mc.drawLine(x+1,y+7,z+i,x+3,y+7,z+i,113,0);
		mc.drawLine(x+2,y+8,z+i,x+2,y+8,z+i,89,0);
	}
}

	return 0;
}

  
  
  
  
  
  
  
 
  
  
  
  
  
  
  
   

  

posted @ 2023-03-12 09:54  陈若麟  阅读(7)  评论(0编辑  收藏  举报