首页 > 其他分享 >史努比

史努比

时间:2023-05-28 11:14:30浏览次数:41  
标签:lan 史努比 zong ++ hui lu huang

#include <iostream>
#include <string>
#include "minecraft.h"
#include "Windows.h"
using namespace std;
TxMinecraft mc;
string x,y,z;
string id,data;
int main() {
    bool con=mc.ConnectMinecraft("zk","919b005179e840e1bf78fef437b2f298");
    if(!con){
        cout<<"连接失败";
    }
    bool fly=true;
   mc.setPlayerFly("陈若麟",fly);
   int t,h,u;  
    string a[37][47];
    int b=0; 
    string hui="251,7";
    string zong="251,12";
    string huang="251,4";
    string hei="251,15";
    string hong="251,14";
    string lan="251,3";
    string lu="251,13";
    cin>>t>>h>>u;
    //0
    a[11][b]=hui;
    a[12][b]=hui;
    a[13][b]=hui;
    a[14][b]=hui;
    a[15][b]=hui;
    a[16][b]=hui;
    a[17][b]=hui;
    a[18][b]=hui;
    a[19][b]=hui;
    a[20][b]=hui;
    a[21][b]=hui;
    a[22][b]=hui;
    a[23][b]=hui;
    a[24][b]=hui;
    b++;
    //1
    a[10][b]=hui;
    a[12][b]=hui;
    a[17][b]=hui;
    a[19][b]=hui;
    a[24][b]=hui;
    b++;
    //2
    a[2][b]=hui;
    a[3][b]=hui;
    a[4][b]=hui;
    a[5][b]=hui;
    a[6][b]=hui;
    a[7][b]=hui;
    a[8][b]=hui;
    a[9][b]=hui;
    a[10][b]=hui;
    a[17][b]=hui;
    a[11][b]=hui;
    a[23][b]=hui;
    //3
    a[1][b]=hui;
    a[2][b]=zong;
    a[3][b]=zong;
    a[4][b]=huang;
    a[5][b]=zong;
    a[6][b]=hui;
    a[7][b]=hei;
    a[8][b]=hei;
    a[9][b]=hui;
    a[10][b]=lu;
    a[11][b]=hui;
    a[12][b]=hui;
    a[13][b]=hui;
    a[14][b]=hui;
    a[15][b]=hui;
    a[16][b]=hui;
    a[17][b]=hui;
    a[18][b]=hui;
    a[19][b]=hui;
    a[20][b]=hui;
    a[21][b]=hui;
    a[22][b]=hui;
    b++;
    //4
    a[0][b]=hui;
    a[1][b]=lu;
    a[2][b]=zong;
    a[3][b]=zong;
    a[4][b]=huang;
    a[5][b]=huang;
    a[6][b]=hui;
    a[7][b]=hei;
    a[8][b]=hei;
    a[9][b]=hui;
    a[10][b]=lu;
    a[11][b]=huang;
    a[12][b]=huang;
    a[13][b]=huang;
    a[14][b]=huang;
    a[15][b]=huang;
    a[16][b]=zong;
    a[17][b]=zong;
    a[18][b]=zong;
    a[19][b]=lu;
    a[20][b]=lu;
    a[21][b]=huang;
    a[22][b]=hui;
    a[23][b]=hui;
    a[24][b]=hui;
    a[25][b]=hui;
    a[26][b]=hui;
    a[27][b]=hui;
    a[28][b]=hui;
    a[29][b]=hui;
    a[30][b]=hui;
    a[31][b]=hui;
    a[32][b]=hui;
    a[33][b]=hui;
    a[34][b]=hui;
    b++;
    //5
    a[0][b]=hui;
    a[1][b]=lu;
    a[2][b]=lu;
    a[3][b]=lu;
    a[4][b]=lu;
    a[5][b]=lu;
    a[6][b]=lu;
    a[7][b]=hui;
    a[8][b]=hui;
    a[9][b]=zong;
    a[10][b]=zong;
    a[11][b]=huang;
    a[12][b]=zong;
    a[13][b]=zong;
    a[14][b]=zong;
    a[15][b]=huang;
    a[16][b]=zong;
    a[17][b]=zong;
    a[18][b]=lu;
    a[19][b]=lu;
    a[20][b]=lu;
    a[21][b]=huang;
    a[22][b]=huang;
    a[23][b]=huang;
    a[24][b]=huang;
    a[25][b]=zong;
    a[26][b]=zong;
    a[27][b]=hui;
    a[28][b]=hei;
    a[29][b]=hei;
    a[30][b]=hui;
    a[31][b]=huang;
    a[32][b]=huang;
    a[33][b]=lu;
    a[34][b]=lu;
    a[35][b]=hui;
    b++;
    //6
    a[0][b]=hui;
    a[1][b]=huang;
    a[2][b]=huang;
    a[3][b]=huang;
    a[4][b]=lu;
    a[5][b]=huang;
    a[6][b]=huang;
    a[7][b]=hui;
    a[8][b]=hui;
    a[9][b]=lu;
    a[10][b]=lu;
    a[11][b]=huang;
    a[12][b]=huang;
    a[13][b]=lu;
    a[14][b]=zong;
    a[15][b]=huang;
    a[16][b]=huang;
    a[17][b]=huang;
    a[18][b]=hui;
    a[19][b]=hui;
    a[20][b]=lu;
    a[21][b]=huang;
    a[22][b]=huang;
    a[23][b]=huang;
    a[24][b]=huang;
    a[25][b]=zong;
    a[26][b]=zong;
    a[27][b]=hui;
    a[28][b]=hei;
    a[29][b]=hei;
    a[30][b]=hui;
    a[31][b]=huang;
    a[32][b]=zong;
    a[33][b]=zong;
    a[34][b]=zong;
    a[35][b]=lu;
    a[36][b]=hui;
    b++;
    //7
    a[0][b]=hui;
    a[1][b]=zong;
    a[2][b]=huang;
    a[3][b]=huang;
    a[4][b]=zong;
    a[5][b]=zong;
    a[6][b]=huang;
    a[7][b]=hui;
    a[8][b]=hui;
    a[9][b]=lu;
    a[10][b]=zong;
    a[11][b]=lu;
    a[12][b]=huang;
    a[13][b]=lu;
    a[14][b]=lu;
    a[15][b]=huang;
    a[16][b]=hui;
    a[17][b]=hui;
    a[20][b]=hui;
    a[21][b]=hui;
    a[22][b]=huang;
    a[23][b]=huang;
    a[24][b]=huang;
    a[25][b]=lu;
    a[26][b]=huang;
    a[27][b]=huang;
    a[28][b]=hui;
    a[29][b]=hui;
    a[30][b]=huang;
    a[31][b]=huang;
    a[32][b]=zong;
    a[33][b]=zong;
    a[34][b]=zong;
    a[35][b]=lu;
    a[36][b]=hui;
    b++;
    //8
    a[0][b]=hui;
    a[1][b]=zong;
    a[2][b]=huang;
    a[3][b]=huang;
    a[4][b]=zong;
    a[5][b]=zong;
    a[6][b]=huang;
    a[7][b]=hui;
    a[8][b]=hui;
    a[9][b]=zong;
    a[10][b]=zong;
    a[11][b]=huang;
    a[12][b]=zong;
    a[13][b]=zong;
    a[14][b]=lu;
    a[15][b]=hui;
    a[17][b]=hui;
    a[20][b]=hui;
	a[22][b]=hui;
    a[23][b]=lu;
    a[24][b]=lu;
    a[25][b]=lu;
    a[26][b]=lu;
    a[27][b]=huang;
    a[28][b]=hui;
    a[29][b]=hui;
    a[30][b]=huang;
    a[31][b]=huang;
    a[32][b]=huang;
    a[33][b]=huang;
    a[34][b]=huang;
    a[35][b]=lu;
    a[36][b]=hui;
    b++;
    //9
    a[0][b]=hui;
    a[1][b]=zong;
    a[2][b]=zong;
    a[3][b]=lu;
    a[4][b]=huang;
    a[5][b]=lu;
    a[6][b]=lu;
    a[7][b]=hui;
    a[8][b]=hui;
    a[9][b]=zong;
    a[10][b]=huang;
    a[11][b]=huang;
    a[12][b]=huang;
    a[13][b]=zong;
    a[14][b]=zong;
    a[15][b]=hui;
	a[22][b]=hui;
    a[23][b]=zong;
    a[24][b]=huang;
    a[25][b]=lu;
    a[26][b]=huang;
    a[27][b]=zong;
    a[28][b]=hui;
    a[29][b]=hui;
    a[30][b]=huang;
    a[31][b]=huang;
    a[32][b]=lu;
    a[33][b]=huang;
    a[34][b]=huang;
    a[35][b]=huang;
    a[36][b]=hui;
    b++;
    //10
    a[0][b]=hui;
    a[1][b]=lu;
    a[2][b]=lu;
    a[3][b]=zong;
    a[4][b]=lu;
    a[5][b]=lu;
    a[6][b]=hui;
    a[7][b]=hei;
    a[8][b]=hei;
    a[9][b]=hui;
    a[10][b]=zong;
    a[11][b]=zong;
    a[12][b]=lu;
    a[13][b]=zong;
    a[14][b]=huang;
    a[15][b]=huang;
    a[16][b]=hui;
    a[21][b]=hui;
	a[22][b]=zong;
    a[23][b]=zong;
    a[24][b]=huang;
    a[25][b]=huang;
    a[26][b]=huang;
    a[27][b]=huang;
    a[28][b]=hui;
    a[29][b]=hui;
    a[30][b]=lu;
    a[31][b]=lu;
    a[32][b]=lu;
    a[33][b]=huang;
    a[34][b]=huang;
    a[35][b]=huang;
    a[36][b]=hui;
    b++;
    //11
    a[1][b]=hui;
    a[2][b]=zong;
    a[3][b]=zong;
    a[4][b]=huang;
    a[5][b]=huang;
    a[6][b]=hui;
    a[7][b]=hei;
    a[8][b]=hei;
    a[9][b]=hui;
    a[10][b]=zong;
    a[11][b]=zong;
    a[12][b]=lu;
    a[13][b]=lu;
    a[14][b]=lu;
    a[15][b]=huang;
    a[16][b]=huang;
    a[17][b]=hui;
    a[20][b]=hui;
    a[21][b]=zong;
	a[22][b]=zong;
    a[23][b]=zong;
    a[24][b]=zong;
    a[25][b]=huang;
    a[26][b]=huang;
    a[27][b]=huang;
    a[28][b]=hui;
    a[29][b]=hui;
    a[30][b]=huang;
    a[31][b]=lu;
    a[32][b]=lu;
    a[33][b]=huang;
    a[34][b]=lu;
    a[35][b]=huang;
    a[36][b]=hui;
    b++;
    //12
    a[1][b]=hui;
    a[2][b]=hui;
    a[3][b]=hui;
    a[4][b]=hui;
    a[5][b]=hui;
    a[6][b]=hui;
    a[7][b]=hui;
    a[8][b]=hui;
    a[9][b]=hui;
    a[10][b]=hui;
    a[11][b]=hui;
    a[12][b]=hui;
    a[13][b]=hui;
    a[14][b]=hui;
    a[15][b]=hui;
    a[16][b]=hui;
    a[17][b]=hui;
    a[18][b]=hui;
    a[20][b]=hui;
    a[21][b]=zong;
	a[22][b]=zong;
    a[23][b]=zong;
    a[24][b]=zong;
    a[25][b]=lu;
    a[26][b]=lu;
    a[27][b]=hui;
    a[28][b]=hei;
    a[29][b]=hei;
    a[30][b]=hui;
    a[31][b]=zong;
    a[32][b]=huang;
    a[33][b]=zong;
    a[34][b]=lu;
    a[35][b]=lu;
    a[36][b]=hui;
    b++;
    //13
    a[11][b]=hui;
    a[14][b]=hui;
    a[18][b]=hui;
    a[20][b]=hui;
    a[21][b]=hui;
	a[22][b]=hui;
    a[23][b]=zong;
    a[24][b]=zong;
    a[25][b]=lu;
    a[26][b]=lu;
    a[27][b]=hui;
    a[28][b]=hei;
    a[29][b]=hei;
    a[30][b]=hui;
    a[31][b]=huang;
    a[32][b]=huang;
    a[33][b]=huang;
    a[34][b]=zong;
    a[35][b]=hui;
    b++;
    //14
    a[12][b]=hui;
    a[13][b]=hui;
    a[14][b]=hui;
    a[18][b]=hui;
    a[20][b]=hui;
    a[23][b]=hui;
    a[24][b]=hui;
    a[25][b]=hui;
    a[26][b]=hui;
    a[27][b]=hui;
    a[28][b]=hui;
    a[29][b]=hui;
    a[30][b]=hui;
    a[31][b]=hui;
    a[32][b]=hui;
    a[33][b]=hui;
    a[34][b]=hui;
    b++;
    //15
    a[14][b]=hui;
    a[22][b]=hui;
    a[23][b]=hui;
    b++;
    //16
    a[15][b]=hui;
    a[22][b]=hui;
    b++;
    //17
    a[16][b]=hui;
    a[21][b]=hui;
    b++;
    //18
    a[17][b]=hui;
    a[18][b]=hui;
    a[19][b]=hui;
    a[20][b]=hui;
    a[21][b]=hui;
    b++;
    //19
    a[17][b]=hui;
    a[21][b]=hui;
    b++;
    //20
    a[17][b]=hui;
    a[21][b]=hui;
    b++;
    //21
    a[13][b]=hui;
    a[14][b]=hui;
    a[16][b]=hui;
    a[15][b]=hui;
    a[22][b]=hui;
    a[26][b]=hui;
    a[27][b]=hui;
    a[28][b]=hui;
    a[29][b]=hui;
    b++;
    //22
    a[7][b]=hui;
    a[8][b]=hui;
    a[9][b]=hui;
    a[10][b]=hui;
    a[11][b]=hui;
    a[12][b]=hui;
    a[23][b]=hui;
    a[24][b]=hui;
    a[25][b]=hui;
    a[30][b]=hui;
    b++;
    //23
    a[5][b]=hui;
    a[6][b]=hui;
    a[24][b]=hui;
    a[27][b]=hui;
    a[28][b]=hui;
    a[29][b]=hui;
    a[31][b]=hui;
    b++;
    //24
    a[4][b]=hui;
    a[26][b]=hui;
    a[27][b]=hui;
    a[28][b]=hui;
    a[29][b]=hui;
    a[30][b]=hui;
    a[32][b]=hui;
    b++;
    //25
    a[3][b]=hui;
    a[25][b]=hui;
    a[26][b]=hui;
    a[27][b]=hui;
    a[28][b]=hui;
    a[29][b]=hui;
    a[30][b]=hui;
    a[32][b]=hui;
    b++;
    //26
    a[3][b]=hui;
    a[25][b]=hui;
    a[26][b]=hui;
    a[27][b]=hui;
    a[28][b]=hui;
    a[29][b]=hui;
    a[30][b]=hui;
    a[32][b]=hui;
    b++;
    //27
    a[2][b]=hui;
    a[27][b]=hui;
    a[29][b]=hui;
    a[30][b]=hui;
    a[32][b]=hui;
    b++;
    //28
    a[2][b]=hui;
    a[1][b]=hui;
    a[0][b]=hui;
    a[25][b]=hui;
    a[27][b]=hui;
    a[29][b]=hui;
    a[31][b]=hui;
    b++;
    //29
    a[2][b]=hui;
    a[1][b]=hui;
    a[0][b]=hui;
    a[25][b]=hui;
    a[26][b]=hui;
    a[28][b]=hui;
    a[31][b]=hui;
    b++;
    //30
	a[2][b]=hui;
    a[26][b]=hui;
    a[27][b]=hui;
    a[28][b]=hui;
    a[30][b]=hui;
    b++;
    //31
	a[3][b]=hui;
    a[26][b]=hui;
    a[27][b]=hui;
    a[29][b]=hui;
    a[30][b]=hui;
    a[31][b]=hui;
    a[32][b]=hui;
    a[33][b]=hui;
    a[34][b]=hui;
    a[35][b]=hui;
    b++;
    //32
	a[3][b]=hui;
	a[13][b]=hui;
    a[28][b]=hui;
    a[29][b]=hong;
    a[30][b]=hong;
    a[31][b]=hong;
    a[32][b]=hong;
    a[33][b]=hong;
    a[34][b]=hong;
    a[35][b]=hong;
    a[36][b]=hui;
    b++;
    //33
	a[4][b]=hui;
	a[13][b]=hui;
	a[26][b]=hui;
	a[27][b]=hui;
    a[28][b]=hong;
    a[29][b]=hong;
    a[30][b]=hong;
    a[31][b]=hong;
    a[32][b]=hong;
    a[33][b]=hong;
    a[34][b]=hong;
    a[35][b]=hong;
    a[36][b]=hui;
    b++;
    //34
	a[5][b]=hui;
	a[6][b]=hui;
	a[24][b]=hui;
	a[25][b]=hui;
	a[26][b]=hong;
	a[27][b]=hong;
    a[28][b]=hong;
    a[29][b]=hong;
    a[30][b]=hong;
    a[31][b]=hong;
    a[32][b]=hui;
    a[33][b]=hui;
    a[34][b]=hui;
    a[35][b]=hui;
    b++;
    //35
	a[7][b]=hui;
	a[8][b]=hui;
	a[9][b]=hui;
	a[19][b]=hui;
	a[20][b]=hui;
	a[21][b]=hui;
	a[22][b]=hui;
    a[23][b]=hui;
    a[24][b]=hui;
    a[25][b]=hui;
    a[26][b]=hui;
    a[27][b]=hui;
    a[28][b]=hui;
    a[29][b]=hui;
    a[30][b]=hui;
    a[31][b]=hui;
    b++;
    //36
	a[10][b]=hui;
	a[11][b]=hui;
	a[12][b]=hui;
	a[15][b]=hui;
	a[16][b]=hui;
	a[17][b]=hui;
	a[18][b]=hui;
    a[19][b]=lan;
    a[20][b]=lan;
    a[21][b]=lan;
    a[22][b]=lan;
    a[23][b]=lan;
    a[25][b]=lan;
    a[26][b]=lan;
    a[27][b]=lan;
    a[28][b]=hui;
    b++;
    //37
	a[13][b]=hui;
	a[14][b]=hui;
	a[15][b]=lan;
	a[16][b]=lan;
	a[17][b]=lan;
	a[18][b]=lan;
	a[19][b]=lan;
    a[20][b]=lan;
    a[22][b]=lan;
    a[23][b]=lan;
    a[25][b]=lan;
    a[26][b]=lan;
    a[27][b]=lan;
    a[28][b]=hui;
    b++;
    //38
	a[12][b]=hui;
	a[13][b]=lan;
	a[14][b]=lan;
	a[15][b]=lan;
	a[16][b]=lan;
	a[17][b]=lan;
	a[18][b]=lan;
    a[19][b]=lan;
    a[21][b]=lan;
    a[23][b]=lan;
    a[24][b]=lan;
    a[25][b]=lan;
    a[26][b]=lan;
    a[27][b]=lan;
    a[28][b]=hui;
    b++;
    //39
	a[12][b]=hui;
	a[13][b]=lan;
	a[14][b]=lan;
	a[15][b]=lan;
	a[16][b]=lan;
	a[17][b]=lan;
	a[18][b]=lan;
    a[20][b]=lan;
    a[21][b]=lan;
    a[22][b]=lan;
    a[25][b]=lan;
    a[26][b]=lan;
    a[27][b]=lan;
    a[28][b]=hui;
    b++;
    //40
	a[12][b]=hui;
	a[13][b]=lan;
	a[14][b]=lan;
	a[15][b]=lan;
	a[16][b]=lan;
	a[17][b]=lan;
	a[19][b]=lan;
    a[20][b]=lan;
    a[21][b]=lan;
    a[22][b]=lan;
    a[23][b]=lan;
    a[24][b]=lan;
    a[27][b]=hui;
    b++;
    //41
	a[13][b]=hui;
	a[14][b]=lan;
	a[15][b]=lan;
	a[16][b]=lan;
	a[18][b]=lan;
	a[19][b]=lan;
    a[20][b]=lan;
    a[21][b]=lan;
    a[22][b]=lan;
    a[23][b]=lan;
    a[24][b]=lan;
    a[25][b]=lan;
    a[26][b]=lan;
    a[27][b]=hui;
    b++;
    //42
	a[13][b]=hui;
	a[14][b]=lan;
	a[15][b]=lan;
	a[17][b]=lan;
	a[18][b]=lan;
	a[19][b]=lan;
    a[20][b]=lan;
    a[21][b]=lan;
    a[22][b]=lan;
    a[23][b]=lan;
    a[24][b]=lan;
    a[25][b]=lan;
    a[26][b]=hui;
    b++;
    //43
	a[14][b]=hui;
	a[15][b]=lan;
    a[16][b]=lan;
	a[17][b]=lan;
	a[18][b]=lan;
	a[19][b]=lan;
    a[20][b]=lan;
    a[21][b]=lan;
    a[22][b]=lan;
    a[23][b]=lan;
    a[24][b]=lan;
    a[25][b]=lan;
    a[26][b]=hui;
    b++;
    //44
	a[15][b]=hui;
    a[16][b]=lan;
	a[17][b]=lan;
	a[18][b]=lan;
	a[19][b]=lan;
    a[20][b]=lan;
    a[21][b]=lan;
    a[22][b]=lan;
    a[23][b]=lan;
    a[24][b]=lan;
    a[25][b]=hui;
    b++;
    //45
    a[16][b]=hui;
	a[17][b]=hui;
	a[18][b]=hui;
	a[19][b]=hui;
    a[20][b]=hui;
    a[21][b]=hui;
    a[22][b]=hui;
    a[23][b]=hui;
    a[24][b]=hui;
    b++;
    for(int i=0;i<47;i++){
         cout<<i<<" ";
         for(int j=0;j<=37;j++){
            if(a[j][i]==""){
            mc.setBlock(t+j,h+i,u,251,0);
            Sleep(10);
         }else{
        cout<<j<<endl;
        id=a[j][i].substr(0,a[j][i].find(","));
        a[j][i]=a[j][i].substr(a[j][i].find(",")+1);
        data=a[j][i].substr(0,a[j][i].find(","));
        mc.setBlock(t+j,h+i,u,stoi(id),stoi(data));
        Sleep(10);
		 }
         
         }
   }
    return 0;
}

  

标签:lan,史努比,zong,++,hui,lu,huang
From: https://www.cnblogs.com/As10016/p/17437907.html

相关文章

  • 史努比
    #include<iostream>#include"minecraft.h"#include<Windows.h>usingnamespacestd;TxMinecraftmc;intmain(){boolcon=mc.ConnectMinecraft("zk","08bd17c1ea594f2684182fd956c2d172");if(!con){cout<&l......
  • 史努比
    #include<iostream>#include<string>#include"Windows.h"#include"minecraft.h"TxMinecraftmc;usingnamespacestd;intmain(intargc,char**argv){boolcon=mc.ConnectMinecraft("zk.makeblock.net.cn","......
  • 史努比(不完整篇)
    #include<iostream>#include<string>#include"minecraft.h"usingnamespacestd;TxMinecraftmc;intmain(intargc,char**argv){ boolcon=mc.ConnectMinecraft("zk.makeblock.net.cn","4c4ce4431bdc409388e0a110f5aa9dcc&......
  • 史努比(身体)
    #include<iostream>#include"minecraft.h"usingnamespacestd;TxMinecraftmc;intmain(intargc,char**argv){ boolcon; con=mc.ConnectMinecraft("zk.makeblock.net.cn","03efeed287f44a81950c2a36859d5fb0"); if(con){ cout&......
  • mc 史努比
    #include<iostream>#include"minecraft.h"usingnamespacestd;TxMinecraftmc;intx=0,y=00,z=0;intmain(intargc,char**argv){boolcon=mc.ConnectMinecraft("zk.makeblock.net.cn","a9d44e758f6e4cf8b2da2624156f24d3");if......
  • 爱从26个字母开始 (可爱的史努比)
    A-Accept(接受)世界上没有十全十美的人这句话是千真万确的尤其是两个人一起并不等于两块儿合得来的积木必须互相迁就,记住,你爱他/她就必须接......