1 #include <iostream> 2 #include "minecraft.h" 3 TxMinecraft mc; 4 using namespace std; 5 void diji(int x,int y,int z){ 6 int id=44,data=8; 7 mc.drawLine(x+23,y,z+18,x+23,y,z+19,id,data); 8 mc.drawLine(x+43,y,z+18,x+43,y,z+19,id,data); 9 mc.drawLine(x+29,y,z+15,x+29,y,z+22,id,data); 10 mc.drawLine(x+37,y,z+15,x+37,y,z+22,id,data); 11 mc.drawLine(x+29,y,z+28,x+29,y,z+63,id,data); 12 mc.drawLine(x+37,y,z+28,x+37,y,z+63,id,data); 13 mc.drawLine(x+18,y,z+45,x+48,y,z+45,id,data); 14 mc.drawLine(x+18,y,z+51,x+48,y,z+51,id,data); 15 mc.drawLine(x+4,y,z+5,x+62,y,z+5,id,data); 16 mc.drawLine(x+4,y,z+11,x+62,y,z+11,id,data); 17 mc.drawLine(x+4,y,z+4,x+4,y,z+76,id,data); 18 mc.drawLine(x+62,y,z+4,x+62,y,z+76,id,data); 19 mc.drawLine(x+3,y,z+25,x+28,y,z+25,id,data); 20 mc.drawLine(x+38,y,z+25,x+62,y,z+25,id,data); 21 mc.drawLine(x+28,y,z+4,x+28,y,z+12,id,data); 22 mc.drawLine(x+28,y,z+22,x+28,y,z+28,id,data); 23 mc.drawLine(x+38,y,z+4,x+38,y,z+12,id,data); 24 mc.drawLine(x+38,y,z+22,x+38,y,z+28,id,data); 25 mc.drawLine(x+28,y,z+23,x+38,y,z+23,id,data); 26 mc.drawLine(x+28,y,z+27,x+38,y,z+27,id,data); 27 mc.drawLine(x+14,y,z+11,x+14,y,z+38,id,data); 28 mc.drawLine(x+4,y,z+38,x+17,y,z+38,id,data); 29 mc.drawLine(x+4,y,z+59,x+17,y,z+59,id,data); 30 mc.drawLine(x+4,y,z+70,x+20,y,z+70,id,data); 31 mc.drawLine(x+4,y,z+76,x+20,y,z+76,id,data); 32 mc.drawLine(x+62,y,z+38,x+49,y,z+38,id,data); 33 mc.drawLine(x+62,y,z+59,x+49,y,z+59,id,data); 34 mc.drawLine(x+62,y,z+70,x+46,y,z+70,id,data); 35 mc.drawLine(x+62,y,z+76,x+46,y,z+76,id,data); 36 mc.drawLine(x+52,y,z+25,x+52,y,z+38,id,data); 37 mc.drawLine(x+21,y,z+64,x+45,y,z+64,id,data); 38 mc.drawLine(x+21,y,z+82,x+45,y,z+82,id,data); 39 mc.drawLine(x+21,y,z+63,x+21,y,z+83,id,data); 40 mc.drawLine(x+45,y,z+63,x+45,y,z+83,id,data); 41 id=44,data=13; 42 mc.fillOffsetBlocks(x+30,y-4,z+15,x+36,y-4,z+22,id,data); 43 mc.fillOffsetBlocks(x+30,y-4,z+28,x+36,y-4,z+63,id,data); 44 mc.fillOffsetBlocks(x+18,y-4,z+46,x+48,y-4,z+50,id,data); 45 46 } 47 void dier(int x,int y,int z){ 48 int id=44,data=8; 49 mc.fillOffsetBlocks(x+15,y,z+12,x+22,y,z+24,id,data); 50 51 } 52 void disan(int x,int y,int z){ 53 int id=251,data=0; 54 mc.drawLine(x+4,y,z+4,x+4,y,z+75,id,data); 55 mc.drawLine(x+62,y,z+4,x+62,y,z+75,id,data); 56 mc.drawLine(x+21,y,z+82,x+45,y,z+82,id,data); 57 mc.drawLine(x+21,y,z+63,x+21,y,z+83,id,data); 58 mc.drawLine(x+45,y,z+63,x+45,y,z+83,id,data); 59 } 60 int main(int argc, char** argv) { 61 bool con=mc.ConnectMinecraft("zk","3f75c260388d4ed0a24574d340bf4e81"); 62 if(!con){ 63 cout<<"..."; 64 } 65 int x,y,z; 66 cin>>x>>y>>z; 67 diji(x,y-1,z); 68 disan(x,y+1,z); 69 return 0; 70 }