#include <iostream> #include "minecraft.h" using namespace std; TxMinecraft mc; int x=-1085,y=64,z=-652; int main(int argc, char** argv) { bool con=mc.ConnectMinecraft("zk.makeblock.net.cn","a9d44e758f6e4cf8b2da2624156f24d3"); if(!con){ cout<<"连接失败"<<mc.Back_data; return 0; } mc.setPlayerFly("wangyueshuo"); mc.fillBlocks(x-2,y-2,z-1,x+22,y+10,z+22,0,0); // mc.drawLine(x,y+1,z,x,y+8,z,251,14); // mc.setBlock(x+0,y+1,z+1,98,3); // mc.fillBlocks(x-2,y+9,z-1,x+9,y+10,z+1,0,0); mc.setBlock(x+8,y+0,z+0,189,0); mc.setBlock(x+7,y+0,z+0,189,0); mc.setBlock(x+6,y+0,z+0,189,0); mc.setBlock(x+6,y,z+1,189,0); mc.setBlock(x+5,y,z+1,189,0); mc.setBlock(x+4,y,z+1,189,0); mc.setBlock(x+4,y,z+2,189,0); mc.setBlock(x+3,y,z+2,189,0); mc.setBlock(x+3,y,z+3,189,0); mc.setBlock(x+2,y,z+3,189,0); mc.setBlock(x+2,y,z+4,189,0); mc.setBlock(x+2,y,z+5,189,0); mc.setBlock(x+1,y,z+5,189,0); mc.setBlock(x+1,y,z+6,189,0); mc.setBlock(x+1,y,z+7,189,0); mc.drawLine(x+0,y,z+7,x+0,y,z+13,189,0); mc.drawLine(x+1,y,z+13,x+1,y,z+15,189,0); mc.drawLine(x+2,y,z+15,x+2,y,z+17,189,0); mc.setBlock(x+3,y,z+17,189,0); mc.setBlock(x+3,y,z+18,189,0); mc.setBlock(x+4,y,z+18,189,0); mc.drawLine(x+4,y,z+19,x+6,y,z+19,189,0); mc.drawLine(x+6,y,z+20,x+8,y,z+20,189,0); mc.drawLine(x+8,y,z+21,x+14,y,z+21,189,0); mc.drawLine(x+14,y,z+20,x+16,y,z+20,189,0); mc.drawLine(x+16,y,z+19,x+18,y,z+19,189,0); mc.setBlock(x+18,y,z+18,189,0); mc.setBlock(x+19,y,z+18,189,0); mc.setBlock(x+19,y,z+17,189,0); mc.drawLine(x+20,y,z+17,x+20,y,z+15,189,0); mc.drawLine(x+21,y,z+15,x+21,y,z+13,189,0); mc.drawLine(x+22,y,z+13,x+22,y,z+7,189,0); mc.drawLine(x+21,y,z+7,x+21,y,z+5,189,0); mc.drawLine(x+20,y,z+5,x+20,y,z+3,189,0); mc.setBlock(x+19,y,z+3,189,0); mc.setBlock(x+18,y,z+3,189,0); mc.setBlock(x+18,y,z+2,189,0); mc.drawLine(x+18,y,z+1,x+16,y,z+1,189,0); mc.drawLine(x+16,y,z+0,x+14,y,z+0,189,0); mc.drawCircle(x+11,y-1,z+10,10,24,2,mc.x); mc.drawCircle(x+11,y-1,z+10,9,98,0,mc.x); mc.drawCircle(x+11,y,z+10,8,251,14,mc.x); mc.setBlock(x+7,y-1,z+3,89,0); mc.setBlock(x+7,y,z+3,20,0); mc.setBlock(x+8,y+2,z+3,139,0); mc.drawLine(x+8,y+3,z+3,x+8,y+7,z+3,189,0); mc.setBlock(x+8,y+8,z+3,139,0); mc.setBlock(x+4,y-1,z+6,89,0); mc.setBlock(x+4,y,z+6,20,0); mc.setBlock(x+4,y+2,z+7,139,0); mc.drawLine(x+4,y+3,z+7,x+4,y+7,z+7,189,0); mc.setBlock(x+4,y+8,z+7,139,0); mc.setBlock(x+3,y-1,z+10,89,0); mc.setBlock(x+3,y,z+10,20,0); mc.setBlock(x+4,y-1,z+14,89,0); mc.setBlock(x+4,y,z+14,20,0); mc.setBlock(x+4,y+2,z+13,139,0); mc.drawLine(x+4,y+3,z+13,x+4,y+7,z+13,189,0); mc.setBlock(x+4,y+8,z+13,139,0); mc.setBlock(x+7,y-1,z+17,89,0); mc.setBlock(x+7,y,z+17,20,0); mc.setBlock(x+8,y+2,z+17,139,0); mc.drawLine(x+8,y+3,z+17,x+8,y+7,z+17,189,0); mc.setBlock(x+8,y+8,z+17,139,0); mc.setBlock(x+11,y-1,z+18,89,0); mc.setBlock(x+11,y,z+18,20,0); mc.setBlock(x+15,y-1,z+17,89,0); mc.setBlock(x+15,y,z+17,20,0); mc.setBlock(x+14,y+2,z+17,139,0); mc.drawLine(x+14,y+3,z+17,x+14,y+7,z+17,189,0); mc.setBlock(x+14,y+8,z+17,139,0); mc.setBlock(x+18,y-1,z+14,89,0); mc.setBlock(x+18,y,z+14,20,0); mc.setBlock(x+18,y+2,z+13,139,0); mc.drawLine(x+18,y+3,z+13,x+18,y+7,z+13,189,0); mc.setBlock(x+18,y+8,z+13,139,0); mc.setBlock(x+19,y-1,z+10,89,0); mc.setBlock(x+19,y,z+10,20,0); mc.setBlock(x+18,y-1,z+6,89,0); mc.setBlock(x+18,y,z+6,20,0); mc.setBlock(x+18,y+2,z+7,139,0); mc.drawLine(x+18,y+3,z+7,x+18,y+7,z+7,189,0); mc.setBlock(x+18,y+8,z+7,139,0); mc.setBlock(x+15,y-1,z+3,89,0); mc.setBlock(x+15,y,z+3,20,0); mc.setBlock(x+14,y+2,z+3,139,0); mc.drawLine(x+14,y+3,z+3,x+14,y+7,z+3,189,0); mc.setBlock(x+14,y+8,z+3,139,0); for(int i=8;i>=1;i--){ mc.drawCircle(x+11,y+1,z+10,i,251,0,mc.x); } mc.drawLine(x+9,y+0,z+1,x+13,y+0,z+1,251,14); mc.setBlock(x+9,y,z+1,251,0); mc.setBlock(x+13,y,z+1,251,0); mc.drawLine(x+10,y+1,z+2,x+12,y+1,z+2,251,14); mc.drawLine(x+10,y+0,z+0,x+12,y+0,z+0,171,14); mc.setBlock(x+9,y,z+0,44,7); mc.setBlock(x+13,y,z+0,44,7); return 0; }
标签:13,MC,mc,int,旋转,drawLine,setBlock,木马,251 From: https://www.cnblogs.com/wangyueshuo/p/18249026