#include <bits/stdc++.h> #include "minecraft.h" #include <Windows.h> using namespace std; TxMinecraft mc; int main() { bool con = mc.ConnectMinecraft("zk","4cd7d6e558c943c397a3a5243fa78e19"); if(!con){ cout<<"连接失败"; } mc.setPlayerFly("wangyihang"); int x = -1011,y = 64,z = -629; mc.fillBlocks(x-20,y-5,z-20,x+30,y+35,z+25,0,0); // mc.setBlock(x,y,z,189,0); // mc.setBlock(x,y,z+1,24,2); // mc.setBlock(x,y,z+2,98,0); // mc.setBlock(x,y,z+3,89,0); // mc.setBlock(x,y,z+4,251,14); // mc.setBlock(x,y,z+5,251,0); // mc.setBlock(x,y,z+6,20,0); // mc.setBlock(x,y,z+7,139,0); // mc.setBlock(x,y,z+8,145,0); // mc.setBlock(x,y,z+9,44,2); // mc.setBlock(x,y,z+10,156,0); mc.drawCircle(x,y,z,9,98,0,mc.x); mc.drawCircle(x,y+1,z,8,251,14,mc.x); mc.drawLine(x,y,z,x,y+10,z,89,0); mc.setBlock(x-6,y,z-6,98,0); mc.setBlock(x+6,y,z-6,98,0); mc.setBlock(x-6,y,z+6,98,0); mc.setBlock(x+6,y,z+6,98,0); mc.drawCircle(x,y+1,z,11,189,0,mc.x); mc.drawCircle(x,y,z,10,24,2,mc.x); mc.drawCircle(x,y+2,z,8,251,0,mc.x); mc.drawCircle(x,y+2,z,7,251,0,mc.x); mc.drawCircle(x,y+2,z,6,251,0,mc.x); mc.drawCircle(x,y+2,z,5,251,0,mc.x); mc.drawCircle(x,y+2,z,4,251,0,mc.x); mc.drawCircle(x,y+2,z,3,251,0,mc.x); mc.drawCircle(x,y+2,z,2,251,0,mc.x); mc.drawCircle(x,y+2,z,1,251,0,mc.x); mc.drawLine(x+1,y+2,z-1,x+1,y+2,z-7,251,14); mc.drawLine(x+2,y+2,z-2,x+2,y+2,z-7,251,14); mc.drawLine(x+3,y+2,z-3,x+3,y+2,z-6,251,14); mc.drawLine(x+4,y+2,z-4,x+4,y+2,z-6,251,14); mc.setBlock(x+5,y+2,z-5,251,14); mc.setBlock(x+5,y+2,z-4,251,0); mc.setBlock(x+4,y+2,z-2,251,0); mc.drawLine(x+1,y+2,z+1,x+7,y+2,z+1,251,14); mc.drawLine(x+2,y+2,z+2,x+7,y+2,z+2,251,14); mc.drawLine(x+3,y+2,z+3,x+6,y+2,z+3,251,14); mc.drawLine(x+4,y+2,z+4,x+6,y+2,z+4,251,14); mc.setBlock(x+5,y+2,z+5,251,14); mc.setBlock(x+4,y+2,z+5,251,0); mc.setBlock(x+2,y+2,z+4,251,0); mc.drawLine(x-1,y+2,z+1,x-1,y+2,z+7,251,14); mc.drawLine(x-2,y+2,z+2,x-2,y+2,z+7,251,14); mc.drawLine(x-3,y+2,z+3,x-3,y+2,z+6,251,14); mc.drawLine(x-4,y+2,z+4,x-4,y+2,z+6,251,14); mc.setBlock(x-5,y+2,z+5,251,14); mc.setBlock(x-5,y+2,z+4,251,0); mc.setBlock(x-4,y+2,z+2,251,0); mc.drawLine(x-1,y+2,z-1,x-7,y+2,z-1,251,14); mc.drawLine(x-2,y+2,z-2,x-7,y+2,z-2,251,14); mc.drawLine(x-3,y+2,z-3,x-6,y+2,z-3,251,14); mc.drawLine(x-4,y+2,z-4,x-6,y+2,z-4,251,14); mc.setBlock(x-5,y+2,z-5,251,14); mc.setBlock(x-4,y+2,z-5,251,0); mc.setBlock(x-2,y+2,z-4,251,0); mc.setBlock(x-2,y+2,z-8,251,0); mc.setBlock(x+2,y+2,z-8,251,0); mc.drawLine(x-1,y+2,z-8,x+1,y+2,z-8,251,14); mc.setBlock(x-2,y+1,z-9,251,0); mc.setBlock(x+2,y+1,z-9,251,0); mc.drawLine(x-1,y+1,z-9,x+1,y+1,z-9,251,14); mc.setBlock(x-2,y+1,z-10,44,7); mc.setBlock(x+2,y+1,z-10,44,7); mc.drawLine(x-1,y+1,z-10,x+1,y+1,z-10,89,0); mc.drawLine(x-1,y+1,z-10,x+1,y+1,z-10,171,14); mc.setBlock(x-3,y+3,z-7,139,0); mc.setBlock(x-3,y+9,z-7,139,0); mc.drawLine(x-3,y+4,z-7,x-3,y+8,z-7,189,0); mc.setBlock(x+3,y+3,z-7,139,0); mc.setBlock(x+3,y+9,z-7,139,0); mc.drawLine(x+3,y+4,z-7,x+3,y+8,z-7,189,0); mc.setBlock(x-3,y+3,z+7,139,0); mc.setBlock(x-3,y+9,z+7,139,0); mc.drawLine(x-3,y+4,z+7,x-3,y+8,z+7,189,0); mc.setBlock(x+3,y+3,z+7,139,0); mc.setBlock(x+3,y+9,z+7,139,0); mc.drawLine(x+3,y+4,z+7,x+3,y+8,z+7,189,0); return 0; }
标签:std,mc,旋转,木马,include,con From: https://www.cnblogs.com/wangyihang-xh/p/18249035