#include <iostream> #include <string> #include "minecraft.h" #include "Windows.h" using namespace std; TxMinecraft mc; string x,y,z,id,data; int main() { bool con=mc.ConnectMinecraft("zk","919b005179e840e1bf78fef437b2f298"); if(!con){ cout<<"连接失败"; } string q,w,e; cin>>q>>w>>e; bool fly=true; mc.setPlayerFly("陈若麟",fly); string s[126]; s[0]="2,0,0,251,7"; s[1]="3,0,0,251,1"; s[2]="4,0,0,251,1"; s[3]="5,0,0,251,1"; s[4]="6,0,0,251,1"; s[5]="7,0,0,251,1"; s[6]="8,0,0,251,5"; s[7]="9,0,0,251,5"; s[8]="10,0,0,251,10"; s[9]="11,0,0,251,10"; s[10]="12,0,0,251,10"; s[11]="13,0,0,251,5"; s[12]="14,0,0,251,5"; s[13]="15,0,0,251,5"; s[14]="16,0,0,251,5"; s[15]="17,0,0,251,7"; s[16]="2,1,0,251,7"; s[17]="3,1,0,251,5"; s[18]="4,1,0,251,5"; s[19]="5,1,0,251,5"; s[20]="6,1,0,251,7"; s[21]="7,1,0,251,5"; s[22]="8,1,0,251,5"; s[23]="9,1,0,251,5"; s[24]="10,1,0,251,10"; s[25]="11,1,0,251,10"; s[26]="12,1,0,251,10"; s[27]="13,1,0,251,5"; s[28]="14,1,0,251,5"; s[29]="15,1,0,251,5"; s[30]="16,1,0,251,5"; s[31]="17,1,0,251,7"; s[32]="2,2,0,251,7"; s[33]="3,2,0,251,5"; s[34]="4,2,0,251,5"; s[35]="5,2,0,251,5"; s[36]="6,2,0,251,5"; s[37]="7,2,0,251,7"; s[38]="8,2,0,251,5"; s[39]="9,2,0,251,5"; s[40]="10,2,0,251,10"; s[41]="11,2,0,251,10"; s[42]="12,2,0,251,10"; s[43]="13,2,0,251,10"; s[44]="14,2,0,251,5"; s[45]="15,2,0,251,5"; s[46]="16,2,0,251,7"; s[47]="3,3,0,251,7"; s[48]="4,3,0,251,5"; s[49]="5,3,0,251,5"; s[50]="6,3,0,251,5"; s[51]="7,3,0,251,5"; s[52]="8,3,0,251,5"; s[53]="9,3,0,251,5"; s[54]="10,3,0,251,10"; s[55]="11,3,0,251,7"; s[56]="12,3,0,251,10"; s[57]="13,3,0,251,7"; s[58]="14,3,0,251,5"; s[59]="15,3,0,251,5"; s[60]="16,3,0,251,7"; s[61]="3,4,0,251,7"; s[62]="4,4,0,251,5"; s[63]="5,4,0,251,5"; s[64]="6,4,0,251,5"; s[65]="7,4,0,251,7"; s[66]="8,4,0,251,7"; s[67]="9,4,0,251,5"; s[68]="10,4,0,251,7"; s[69]="11,4,0,251,4"; s[70]="12,4,0,251,7"; s[71]="13,4,0,251,5"; s[72]="14,4,0,251,7"; s[73]="15,4,0,251,5"; s[74]="16,4,0,251,7"; s[75]="4,5,0,251,7"; s[76]="5,5,0,251,5"; s[77]="6,5,0,251,5"; s[78]="7,5,0,251,7"; s[79]="8,5,0,251,5"; s[80]="9,5,0,251,7"; s[81]="10,5,0,251,1"; s[82]="11,5,0,251,4"; s[83]="12,5,0,251,7"; s[84]="13,5,0,251,5"; s[85]="14,5,0,251,5"; s[86]="15,5,0,251,7"; s[87]="5,6,0,251,7"; s[88]="6,6,0,251,5"; s[89]="7,6,0,251,7"; s[90]="8,6,0,251,5"; s[91]="9,6,0,251,7"; s[92]="10,6,0,251,1"; s[93]="11,6,0,251,4"; s[94]="12,6,0,251,4"; s[95]="13,6,0,251,7"; s[96]="14,6,0,251,7"; s[97]="15,6,0,251,7"; s[98]="6,7,0,251,7"; s[99]="7,7,0,251,7"; s[100]="8,7,0,251,5"; s[101]="9,7,0,251,7"; s[102]="10,7,0,251,1"; s[103]="11,7,0,251,4"; s[104]="12,7,0,251,4"; s[105]="13,7,0,251,4"; s[106]="14,7,0,251,4"; s[107]="15,7,0,251,4"; s[108]="16,7,0,251,7"; s[109]="17,7,0,251,7"; s[110]="18,7,0,251,7"; s[111]="19,7,0,251,7"; s[112]="8,8,0,251,7"; s[113]="9,8,0,251,1"; s[114]="10,8,0,251,1"; s[115]="11,8,0,251,1"; s[116]="12,8,0,251,4"; s[117]="13,8,0,251,4"; s[118]="14,8,0,251,4"; s[119]="15,8,0,251,4"; s[120]="16,8,0,251,4"; s[121]="17,8,0,251,4"; s[122]="18,8,0,251,4"; s[123]="19,8,0,251,4"; s[124]="20,8,0,251,7"; s[125]="21,8,0,251,7"; s[126]="22,8,0,251,7"; for(int i=0;i<126;i++){ if(s[i]!=""){ x=s[i].substr(0,s[i].find(",")); s[i]=s[i].substr(s[i].find(",")+1); y=s[i].substr(0,s[i].find(",")); s[i]=s[i].substr(s[i].find(",")+1); z=s[i].substr(0,s[i].find(",")); s[i]=s[i].substr(s[i].find(",")+1); id=s[i].substr(0,s[i].find(",")); s[i]=s[i].substr(s[i].find(",")+1); data=s[i].substr(0,s[i].find(",")); mc.setBlock(stoi(x)+stoi(q),stoi(y)+stoi(w),stoi(z)+stoi(e),stoi(id),stoi(data)); Sleep(10); } } return 0; }
标签:11,10,13,12,15,尼克,251,朱迪 From: https://www.cnblogs.com/As10016/p/17435772.html