#include <iostream> #include "Windows.h" #include "minecraft.h" TxMinecraft mc; using namespace std; int id=179,data=1; void you(int x,int y,int z){ mc.fillOffsetBlocks(x,y-4,z,x,y+46,z+50,24,2); mc.drawLine(x,y,z+10,x,y+10,z,id,data); mc.drawLine(x,y+10,z,x,y+16,z+6,id,data); mc.drawLine(x,y+16,z+6,x,y+35,z+6,id,data); mc.drawLine(x,y+36,z+5,x,y+41,z,id,data); mc.drawLine(x,y+41,z,x,y+50,z+9,id,data); mc.drawLine(x,y+50,z+15,x,y+40,z+25,id,data); mc.drawLine(x,y+40,z+25,x,y+50,z+35,id,data); mc.drawLine(x,y+50,z+41,x,y+41,z+50,id,data); mc.drawLine(x,y+41,z+50,x,y+35,z+44,id,data); mc.drawLine(x,y+35,z+44,x,y+16,z+44,id,data); mc.drawLine(x,y+16,z+44,x,y+10,z+50,id,data); mc.drawLine(x,y+10,z+50,x,y,z+40,id,data); mc.drawLine(x,y,z+21,x,y+12,z+21,id,data); mc.drawLine(x,y+11,z+22,x,y+8,z+25,id,data); mc.setBlock(x,y+7,z+25,id,data); mc.drawLine(x,y+8,z+25,x,y+12,z+29,id,data); mc.drawLine(x,y+12,z+29,x,y,z+29,id,data); mc.drawLine(x,y+4,z+15,x,y+12,z+7,id,data); mc.drawLine(x,y+4,z+15,x,y+8,z+19,id,data); mc.drawLine(x,y+8,z+19,x,y+19,z+8,id,data); mc.drawLine(x,y+12,z+7,x,y+16,z+11,id,data); mc.drawLine(x,y+19,z+8,x,y+30,z+19,id,data); mc.drawLine(x,y+30,z+19,x,y+42,z+7,id,data); mc.drawLine(x,y+42,z+7,x,y+48,z+13,id,data); mc.drawLine(x,y+39,z+10,x,y+45,z+16,id,data); mc.drawLine(x,y+45,z+16,x,y+48,z+13,id,data); mc.drawLine(x,y+15,z+25,x,y+19,z+21,id,data); mc.drawLine(x,y+19,z+21,x,y+32,z+21,id,data); mc.drawLine(x,y+32,z+21,x,y+36,z+25,id,data); mc.drawLine(x,y+15,z+25,x,y+19,z+29,id,data); mc.drawLine(x,y+19,z+29,x,y+32,z+29,id,data); mc.drawLine(x,y+4,z+35,x,y+8,z+31,id,data); mc.drawLine(x,y+4,z+35,x,y+12,z+43,id,data); mc.drawLine(x,y+8,z+31,x,y+19,z+42,id,data); mc.drawLine(x,y+12,z+43,x,y+16,z+39,id,data); mc.drawLine(x,y+19,z+42,x,y+30,z+31,id,data); mc.drawLine(x,y+30,z+31,x,y+42,z+43,id,data); mc.drawLine(x,y+42,z+43,x,y+48,z+37,id,data); mc.drawLine(x,y+48,z+37,x,y+45,z+34,id,data); mc.drawLine(x,y+45,z+34,x,y+39,z+40,id,data); mc.drawLine(x,y+32,z+29,x,y+36,z+25,id,data); int id=251,data=11; mc.drawLine(x+1,y+1,z+10,x+1-1,y+10,z,id,data); mc.drawLine(x+1-1,y+10,z,x+1,y+16,z+6,id,data); mc.drawLine(x+1,y+16,z+6,x+1,y+35,z+6,id,data); mc.drawLine(x+1,y+36,z+5,x+1,y+41,z,id,data); mc.drawLine(x+1,y+41,z,x+1,y+50,z+9,id,data); mc.drawLine(x+1,y+50,z+15,x+1,y+40,z+25,id,data); mc.drawLine(x+1,y+40,z+25,x+1,y+50,z+35,id,data); mc.drawLine(x+1,y+50,z+41,x+1,y+41,z+50,id,data); mc.drawLine(x+1,y+41,z+50,x+1,y+35,z+44,id,data); mc.drawLine(x+1,y+35,z+44,x+1,y+16,z+44,id,data); mc.drawLine(x+1,y+16,z+44,x+1,y+10,z+50,id,data); mc.drawLine(x+1,y+10,z+50,x+1,y,z+40,id,data); mc.drawLine(x+1,y,z+21,x+1,y+12,z+21,id,data); mc.drawLine(x+1,y+11,z+22,x+1,y+8,z+25,id,data); mc.setBlock(x+1,y+7,z+25,id,data); mc.drawLine(x+1,y+8,z+25,x+1,y+12,z+29,id,data); mc.drawLine(x+1,y+12,z+29,x+1,y,z+29,id,data); mc.drawLine(x+1,y+4,z+15,x+1,y+12,z+7,id,data); mc.drawLine(x+1,y+4,z+15,x+1,y+8,z+19,id,data); mc.drawLine(x+1,y+8,z+19,x+1,y+19,z+8,id,data); mc.drawLine(x+1,y+12,z+7,x+1,y+16,z+11,id,data); mc.drawLine(x+1,y+19,z+8,x+1,y+30,z+19,id,data); mc.drawLine(x+1,y+30,z+19,x+1,y+42,z+7,id,data); mc.drawLine(x+1,y+42,z+7,x+1,y+48,z+13,id,data); mc.drawLine(x+1,y+39,z+10,x+1,y+45,z+16,id,data); mc.drawLine(x+1,y+45,z+16,x+1,y+48,z+13,id,data); mc.drawLine(x+1,y+15,z+25,x+1,y+19,z+21,id,data); mc.drawLine(x+1,y+19,z+21,x+1,y+32,z+21,id,data); mc.drawLine(x+1,y+32,z+21,x+1,y+36,z+25,id,data); mc.drawLine(x+1,y+15,z+25,x+1,y+19,z+29,id,data); mc.drawLine(x+1,y+19,z+29,x+1,y+32,z+29,id,data); mc.drawLine(x+1,y+4,z+35,x+1,y+8,z+31,id,data); mc.drawLine(x+1,y+4,z+35,x+1,y+12,z+43,id,data); mc.drawLine(x+1,y+8,z+31,x+1,y+19,z+42,id,data); mc.drawLine(x+1,y+12,z+43,x+1,y+16,z+39,id,data); mc.drawLine(x+1,y+19,z+42,x+1,y+30,z+31,id,data); mc.drawLine(x+1,y+30,z+31,x+1,y+42,z+43,id,data); mc.drawLine(x+1,y+42,z+43,x+1,y+48,z+37,id,data); mc.drawLine(x+1,y+48,z+37,x+1,y+45,z+34,id,data); mc.drawLine(x+1,y+45,z+34,x+1,y+39,z+40,id,data); mc.drawLine(x+1,y+32,z+29,x+1,y+36,z+25,id,data); } void zuo(int x,int y,int z){ mc.fillOffsetBlocks(x,y-4,z,x,y+46,z+50,24,2); mc.drawLine(x,y,z+10,x,y+10,z,id,data); mc.drawLine(x,y+10,z,x,y+16,z+6,id,data); mc.drawLine(x,y+16,z+6,x,y+35,z+6,id,data); mc.drawLine(x,y+36,z+5,x,y+41,z,id,data); mc.drawLine(x,y+41,z,x,y+50,z+9,id,data); mc.drawLine(x,y+50,z+15,x,y+40,z+25,id,data); mc.drawLine(x,y+40,z+25,x,y+50,z+35,id,data); mc.drawLine(x,y+50,z+41,x,y+41,z+50,id,data); mc.drawLine(x,y+41,z+50,x,y+35,z+44,id,data); mc.drawLine(x,y+35,z+44,x,y+16,z+44,id,data); mc.drawLine(x,y+16,z+44,x,y+10,z+50,id,data); mc.drawLine(x,y+10,z+50,x,y,z+40,id,data); mc.drawLine(x,y,z+21,x,y+12,z+21,id,data); mc.drawLine(x,y+11,z+22,x,y+8,z+25,id,data); mc.setBlock(x,y+7,z+25,id,data); mc.drawLine(x,y+8,z+25,x,y+12,z+29,id,data); mc.drawLine(x,y+12,z+29,x,y,z+29,id,data); mc.drawLine(x,y+4,z+15,x,y+12,z+7,id,data); mc.drawLine(x,y+4,z+15,x,y+8,z+19,id,data); mc.drawLine(x,y+8,z+19,x,y+19,z+8,id,data); mc.drawLine(x,y+12,z+7,x,y+16,z+11,id,data); mc.drawLine(x,y+19,z+8,x,y+30,z+19,id,data); mc.drawLine(x,y+30,z+19,x,y+42,z+7,id,data); mc.drawLine(x,y+42,z+7,x,y+48,z+13,id,data); mc.drawLine(x,y+39,z+10,x,y+45,z+16,id,data); mc.drawLine(x,y+45,z+16,x,y+48,z+13,id,data); mc.drawLine(x,y+15,z+25,x,y+19,z+21,id,data); mc.drawLine(x,y+19,z+21,x,y+32,z+21,id,data); mc.drawLine(x,y+32,z+21,x,y+36,z+25,id,data); mc.drawLine(x,y+15,z+25,x,y+19,z+29,id,data); mc.drawLine(x,y+19,z+29,x,y+32,z+29,id,data); mc.drawLine(x,y+4,z+35,x,y+8,z+31,id,data); mc.drawLine(x,y+4,z+35,x,y+12,z+43,id,data); mc.drawLine(x,y+8,z+31,x,y+19,z+42,id,data); mc.drawLine(x,y+12,z+43,x,y+16,z+39,id,data); mc.drawLine(x,y+19,z+42,x,y+30,z+31,id,data); mc.drawLine(x,y+30,z+31,x,y+42,z+43,id,data); mc.drawLine(x,y+42,z+43,x,y+48,z+37,id,data); mc.drawLine(x,y+48,z+37,x,y+45,z+34,id,data); mc.drawLine(x,y+45,z+34,x,y+39,z+40,id,data); mc.drawLine(x,y+32,z+29,x,y+36,z+25,id,data); int id=251,data=11; mc.drawLine(x-1,y+1,z+10,x-1-1,y+10,z,id,data); mc.drawLine(x-1-1,y+10,z,x-1,y+16,z+6,id,data); mc.drawLine(x-1,y+16,z+6,x-1,y+35,z+6,id,data); mc.drawLine(x-1,y+36,z+5,x-1,y+41,z,id,data); mc.drawLine(x-1,y+41,z,x-1,y+50,z+9,id,data); mc.drawLine(x-1,y+50,z+15,x-1,y+40,z+25,id,data); mc.drawLine(x-1,y+40,z+25,x-1,y+50,z+35,id,data); mc.drawLine(x-1,y+50,z+41,x-1,y+41,z+50,id,data); mc.drawLine(x-1,y+41,z+50,x-1,y+35,z+44,id,data); mc.drawLine(x-1,y+35,z+44,x-1,y+16,z+44,id,data); mc.drawLine(x-1,y+16,z+44,x-1,y+10,z+50,id,data); mc.drawLine(x-1,y+10,z+50,x-1,y,z+40,id,data); mc.drawLine(x-1,y,z+21,x-1,y+12,z+21,id,data); mc.drawLine(x-1,y+11,z+22,x-1,y+8,z+25,id,data); mc.setBlock(x-1,y+7,z+25,id,data); mc.drawLine(x-1,y+8,z+25,x-1,y+12,z+29,id,data); mc.drawLine(x-1,y+12,z+29,x-1,y,z+29,id,data); mc.drawLine(x-1,y+4,z+15,x-1,y+12,z+7,id,data); mc.drawLine(x-1,y+4,z+15,x-1,y+8,z+19,id,data); mc.drawLine(x-1,y+8,z+19,x-1,y+19,z+8,id,data); mc.drawLine(x-1,y+12,z+7,x-1,y+16,z+11,id,data); mc.drawLine(x-1,y+19,z+8,x-1,y+30,z+19,id,data); mc.drawLine(x-1,y+30,z+19,x-1,y+42,z+7,id,data); mc.drawLine(x-1,y+42,z+7,x-1,y+48,z+13,id,data); mc.drawLine(x-1,y+39,z+10,x-1,y+45,z+16,id,data); mc.drawLine(x-1,y+45,z+16,x-1,y+48,z+13,id,data); mc.drawLine(x-1,y+15,z+25,x-1,y+19,z+21,id,data); mc.drawLine(x-1,y+19,z+21,x-1,y+32,z+21,id,data); mc.drawLine(x-1,y+32,z+21,x-1,y+36,z+25,id,data); mc.drawLine(x-1,y+15,z+25,x-1,y+19,z+29,id,data); mc.drawLine(x-1,y+19,z+29,x-1,y+32,z+29,id,data); mc.drawLine(x-1,y+4,z+35,x-1,y+8,z+31,id,data); mc.drawLine(x-1,y+4,z+35,x-1,y+12,z+43,id,data); mc.drawLine(x-1,y+8,z+31,x-1,y+19,z+42,id,data); mc.drawLine(x-1,y+12,z+43,x-1,y+16,z+39,id,data); mc.drawLine(x-1,y+19,z+42,x-1,y+30,z+31,id,data); mc.drawLine(x-1,y+30,z+31,x-1,y+42,z+43,id,data); mc.drawLine(x-1,y+42,z+43,x-1,y+48,z+37,id,data); mc.drawLine(x-1,y+48,z+37,x-1,y+45,z+34,id,data); mc.drawLine(x-1,y+45,z+34,x-1,y+39,z+40,id,data); mc.drawLine(x-1,y+32,z+29,x-1,y+36,z+25,id,data); } void xian(int x,int y,int z){ mc.fillOffsetBlocks(x,y-4,z,x+50,y+46,z,24,2); mc.drawLine(x+10,y,z,x,y+10,z,id,data); mc.drawLine(x,y+10,z,x+6,y+16,z,id,data); mc.drawLine(x+6,y+16,z,x+6,y+35,z,id,data); mc.drawLine(x+5,y+36,z,x,y+41,z,id,data); mc.drawLine(x,y+41,z,x+9,y+50,z,id,data); mc.drawLine(x+15,y+50,z,x+25,y+40,z,id,data); mc.drawLine(x+25,y+40,z,x+35,y+50,z,id,data); mc.drawLine(x+41,y+50,z,x+50,y+41,z,id,data); mc.drawLine(x+50,y+41,z,x+44,y+35,z,id,data); mc.drawLine(x+44,y+35,z,x+44,y+16,z,id,data); mc.drawLine(x+44,y+16,z,x+50,y+10,z,id,data); mc.drawLine(x+50,y+10,z,x+40,y,z,id,data); mc.drawLine(x+21,y,z,x+21,y+12,z,id,data); mc.drawLine(x+22,y+11,z,x+25,y+8,z,id,data); mc.setBlock(x+25,y+7,z,id,data); mc.drawLine(x+25,y+8,z,x+29,y+12,z,id,data); mc.drawLine(x+29,y+12,z,x+29,y,z,id,data); mc.drawLine(x+15,y+4,z,x+7,y+12,z,id,data); mc.drawLine(x+15,y+4,z,x+19,y+8,z,id,data); mc.drawLine(x+19,y+8,z,x+8,y+19,z,id,data); mc.drawLine(x+7,y+12,z,x+11,y+16,z,id,data); mc.drawLine(x+8,y+19,z,x+19,y+30,z,id,data); mc.drawLine(x+19,y+30,z,x+7,y+42,z,id,data); mc.drawLine(x+7,y+42,z,x+13,y+48,z,id,data); mc.drawLine(x+10,y+39,z,x+16,y+45,z,id,data); mc.drawLine(x+16,y+45,z,x+13,y+48,z,id,data); mc.drawLine(x+25,y+15,z,x+21,y+19,z,id,data); mc.drawLine(x+21,y+19,z,x+21,y+32,z,id,data); mc.drawLine(x+21,y+32,z,x+25,y+36,z,id,data); mc.drawLine(x+25,y+15,z,x+29,y+19,z,id,data); mc.drawLine(x+29,y+19,z,x+29,y+32,z,id,data); mc.drawLine(x+35,y+4,z,x+31,y+8,z,id,data); mc.drawLine(x+35,y+4,z,x+43,y+12,z,id,data); mc.drawLine(x+31,y+8,z,x+42,y+19,z,id,data); mc.drawLine(x+43,y+12,z,x+39,y+16,z,id,data); mc.drawLine(x+42,y+19,z,x+31,y+30,z,id,data); mc.drawLine(x+31,y+30,z,x+43,y+42,z,id,data); mc.drawLine(x+43,y+42,z,x+37,y+48,z,id,data); mc.drawLine(x+37,y+48,z,x+34,y+45,z,id,data); mc.drawLine(x+34,y+45,z,x+40,y+39,z,id,data); mc.drawLine(x+29,y+32,z,x+25,y+36,z,id,data); } void tuchu(int x,int y,int z){ int id=251,data=11; mc.drawLine(x+10,y,z,x,y+10,z,id,data); mc.drawLine(x,y+10,z,x+6,y+16,z,id,data); mc.drawLine(x+6,y+16,z,x+6,y+35,z,id,data); mc.drawLine(x+5,y+36,z,x,y+41,z,id,data); mc.drawLine(x,y+41,z,x+9,y+50,z,id,data); mc.drawLine(x+15,y+50,z,x+25,y+40,z,id,data); mc.drawLine(x+25,y+40,z,x+35,y+50,z,id,data); mc.drawLine(x+41,y+50,z,x+50,y+41,z,id,data); mc.drawLine(x+50,y+41,z,x+44,y+35,z,id,data); mc.drawLine(x+44,y+35,z,x+44,y+16,z,id,data); mc.drawLine(x+44,y+16,z,x+50,y+10,z,id,data); mc.drawLine(x+50,y+10,z,x+40,y,z,id,data); mc.drawLine(x+21,y,z,x+21,y+12,z,id,data); mc.drawLine(x+22,y+11,z,x+25,y+8,z,id,data); mc.setBlock(x+25,y+7,z,id,data); mc.drawLine(x+25,y+8,z,x+29,y+12,z,id,data); mc.drawLine(x+29,y+12,z,x+29,y,z,id,data); mc.drawLine(x+15,y+4,z,x+7,y+12,z,id,data); mc.drawLine(x+15,y+4,z,x+19,y+8,z,id,data); mc.drawLine(x+19,y+8,z,x+8,y+19,z,id,data); mc.drawLine(x+7,y+12,z,x+11,y+16,z,id,data); mc.drawLine(x+8,y+19,z,x+19,y+30,z,id,data); mc.drawLine(x+19,y+30,z,x+7,y+42,z,id,data); mc.drawLine(x+7,y+42,z,x+13,y+48,z,id,data); mc.drawLine(x+10,y+39,z,x+16,y+45,z,id,data); mc.drawLine(x+16,y+45,z,x+13,y+48,z,id,data); mc.drawLine(x+25,y+15,z,x+21,y+19,z,id,data); mc.drawLine(x+21,y+19,z,x+21,y+32,z,id,data); mc.drawLine(x+21,y+32,z,x+25,y+36,z,id,data); mc.drawLine(x+25,y+15,z,x+29,y+19,z,id,data); mc.drawLine(x+29,y+19,z,x+29,y+32,z,id,data); mc.drawLine(x+35,y+4,z,x+31,y+8,z,id,data); mc.drawLine(x+35,y+4,z,x+43,y+12,z,id,data); mc.drawLine(x+31,y+8,z,x+42,y+19,z,id,data); mc.drawLine(x+43,y+12,z,x+39,y+16,z,id,data); mc.drawLine(x+42,y+19,z,x+31,y+30,z,id,data); mc.drawLine(x+31,y+30,z,x+43,y+42,z,id,data); mc.drawLine(x+43,y+42,z,x+37,y+48,z,id,data); mc.drawLine(x+37,y+48,z,x+34,y+45,z,id,data); mc.drawLine(x+34,y+45,z,x+40,y+39,z,id,data); // mc.drawLine(x+29,y+32,x+25,y+36,z,id,data); mc.drawLine(x+29,y+32,z,x+25,y+36,z,id,data); } int main(int argc, char** argv) { bool con=mc.ConnectMinecraft("zk","3f75c260388d4ed0a24574d340bf4e81"); if(!con){ cout<<"..."; } int x,y,z; cin>>x>>y>>z; xian(x,y,z); tuchu(x,y,z-1); xian(x,y,z+50); tuchu(x,y,z+51); zuo(x,y,z); you(x+50,y,z); }