旋转木马

#include <iostream>
#include <string>
#include "minecraft.h"
using namespace std;
TxMinecraft mc;
int main(int argc, char** argv) {
	bool con=mc.ConnectMinecraft("zk","08bd17c1ea594f2684182fd956c2d172");
	if(!con){
		cout<<"失败";
		return 0; 
	}
	mc.setPlayerFly("fushuxuan",true);
	int x=-1121,y=75,z=-584,id,data;
	mc.setVariable(x,y,z);
	mc.offsetDrawCircle(0,0,0,8,251,14);
	mc.offsetDrawCircle(0,1,0,8,251,0);//白 
	mc.offsetDrawCircle(0,1,0,7,251,0);
	mc.offsetDrawCircle(0,1,0,6,251,0);
	mc.offsetDrawCircle(0,1,0,5,251,0);
	mc.offsetDrawCircle(0,1,0,4,251,0);
	mc.offsetDrawCircle(0,1,0,3,251,0);
	mc.offsetDrawCircle(0,1,0,2,251,0);
	mc.offsetDrawCircle(0,1,0,1,251,0);
	mc.offsetDrawCircle(0,-1,0,9,98,0);
	mc.offsetDrawCircle(0,-1,0,10,24,2);
	mc.offsetDrawLine(1,1,-1,1,1,-7,0,0); 
	mc.offsetDrawLine(2,1,-2,2,2,-7,0,0);
	mc.offsetDrawLine(3,1,-3,3,3,-6,0,0); 
	mc.offsetDrawLine(4,1,-4,4,4,-6,0,0);  
	mc.offsetDrawLine(5,1,-5,5,5,-5,0,0); 

	mc.offsetDrawLine(1,1,-1,1,1,-7,251,14); 
	mc.offsetDrawLine(2,1,-2,2,1,-7,251,14);
	mc.offsetDrawLine(3,1,-3,3,1,-6,251,14); 
	mc.offsetDrawLine(4,1,-4,4,1,-6,251,14);  
	mc.offsetDrawLine(5,1,-5,5,1,-5,251,14); 
	
	mc.offsetDrawLine(-1,1,-1,-7,1,-1,251,14); 
	mc.offsetDrawLine(-2,1,-2,-7,1,-2,251,14);
	mc.offsetDrawLine(-3,1,-3,-6,1,-3,251,14); 
	mc.offsetDrawLine(-4,1,-4,-6,1,-4,251,14);  
	mc.offsetDrawLine(-5,1,-5,-5,1,-5,251,14); 
	
	mc.offsetDrawLine(1,1,1,7,1,1,251,14); 
	mc.offsetDrawLine(2,1,2,7,1,2,251,14);
	mc.offsetDrawLine(3,1,3,6,1,3,251,14); 
	mc.offsetDrawLine(4,1,4,6,1,4,251,14);  
	mc.offsetDrawLine(5,1,5,5,1,5,251,14); 

	
	
	
	mc.offsetDrawLine(-1,1,1,-1,1,-7,251,14); 
	mc.offsetDrawLine(-2,1,2,-2,1,-7,251,14);
	mc.offsetDrawLine(-3,1,3,-3,1,-6,251,14); 
	mc.offsetDrawLine(-4,1,4,-4,1,-6,251,14);  
	mc.offsetDrawLine(-5,1,5,-5,1,-5,251,14); 


	return 0;
}

  

posted @ 2024-06-15 10:01  fushuxuan1  阅读(11)  评论(0)    收藏  举报