旋转木马
#include <iostream> #include "minecraft.h" #include "Windows.h" using namespace std; TxMinecraft mc; //string id,data; int main() { bool con=mc.ConnectMinecraft("zk","919b005179e840e1bf78fef437b2f298"); if(!con){ cout<<"连接失败"; } mc.setPlayerFly("陈若麟",true); int x=-1147,y=63,z=-668; mc.setVariable(x,y,z); mc.fillOffsetBlocks(-10,-10,-10,10,10,10,0,0); mc.offsetDrawCircle(0,1,0,11,189,0); mc.offsetDrawCircle(0,0,0,10,24,2); mc.offsetDrawCircle(0,0,0,9,98,0); mc.offsetDrawCircle(0,1,0,8,251,14); for(int i=8;i>0;i--){ mc.offsetDrawCircle(0,2,0,i,251,0); } mc.offsetDrawLine(0,0,0,0,15,0,89,0); mc.setOffsetBlock(7,3,3,139,0); mc.setOffsetBlock(7,9,3,139,0); mc.offsetDrawLine(7,4,3,7,8,3,189,0); mc.setOffsetBlock(7,3,-3,139,0); mc.setOffsetBlock(7,9,-3,139,0); mc.offsetDrawLine(7,4,-3,7,8,-3,189,0); mc.setOffsetBlock(-7,3,3,139,0); mc.setOffsetBlock(-7,9,3,139,0); mc.offsetDrawLine(-7,4,3,-7,8,3,189,0); mc.setOffsetBlock(-7,3,-3,139,0); mc.setOffsetBlock(-7,9,-3,139,0); mc.offsetDrawLine(-7,4,-3,-7,8,-3,189,0); mc.setOffsetBlock(3,3,7,139,0); mc.setOffsetBlock(3,9,7,139,0); mc.offsetDrawLine(3,4,7,3,8,7,189,0); mc.setOffsetBlock(3,3,-7,139,0); mc.setOffsetBlock(3,9,-7,139,0); mc.offsetDrawLine(3,4,-7,3,8,-7,189,0); mc.setOffsetBlock(-3,3,7,139,0); mc.setOffsetBlock(-3,9,7,139,0); mc.offsetDrawLine(-3,4,7,-3,8,7,189,0); mc.setOffsetBlock(-3,3,-7,139,0); mc.setOffsetBlock(-3,9,-7,139,0); mc.offsetDrawLine(-3,4,-7,-3,8,-7,189,0); mc.setOffsetBlock(10,1,0,171,14); mc.setOffsetBlock(10,1,1,171,14); mc.setOffsetBlock(10,1,-1,171,14); mc.setOffsetBlock(10,1,-2,156,0); mc.setOffsetBlock(10,1,2,156,0); mc.setOffsetBlock(-8,1,0,20,0); mc.setOffsetBlock(-8,0,0,89,0); mc.setOffsetBlock(0,1,-8,20,0); mc.setOffsetBlock(0,0,-8,89,0); mc.setOffsetBlock(0,1,8,20,0); mc.setOffsetBlock(0,0,8,89,0); mc.setOffsetBlock(7,1,4,20,0); mc.setOffsetBlock(7,0,4,89,0); mc.setOffsetBlock(7,1,-4,20,0); mc.setOffsetBlock(7,0,-4,89,0); mc.setOffsetBlock(-7,1,4,20,0); mc.setOffsetBlock(-7,0,4,89,0); mc.setOffsetBlock(-7,1,-4,20,0); mc.setOffsetBlock(-7,0,-4,89,0); mc.offsetDrawLine(2,2,1,7,2,1,251,14); mc.offsetDrawLine(2,2,2,7,2,2,251,14); mc.offsetDrawLine(3,2,3,6,2,3,251,14); mc.offsetDrawLine(4,2,4,6,2,4,251,14); mc.setOffsetBlock(5,2,5,251,14); mc.offsetDrawLine(-1,2,1,-1,2,7,251,14); mc.offsetDrawLine(-2,2,2,-2,2,7,251,14); mc.offsetDrawLine(-3,2,3,-3,2,6,251,14); mc.offsetDrawLine(-4,2,4,-4,2,6,251,14); mc.setOffsetBlock(-5,2,5,251,14); return 0; }