首页 > 其他分享 >沙漠神殿

沙漠神殿

时间:2023-07-07 20:46:03浏览次数:26  
标签:15 mc 神殿 drawLine 沙漠 42 data id

#include <bits/stdc++.h>
#include "minecraft.h"
#include <Windows.h>
using namespace std;
TxMinecraft mc;
int id = 159,data = 14;
/*struct Block{
    int x,y,z,id,data,_x,_y,_z;
    void b(TxMinecraft mc){
        mc.setBlock(_x+x,_y+y,_z+z,id,data);
    }
};*/
void a(int x,int y,int z){
    mc.drawLine(x+10,y,z,x,y+10,z,id,data);
    mc.drawLine(x+1,y+11,z,x+5,y+15,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+1,y+42,z,x+9,y+50,z,id,data);
    mc.drawLine(x+15,y+4,z,x+7,y+12,z,id,data);
    mc.drawLine(x+8,y+13,z,x+10,y+15,z,id,data);
    mc.drawLine(x+16,y+5,z,x+18,y+7,z,id,data);
    mc.drawLine(x+19,y+8,z,x+8,y+19,z,id,data);
    mc.drawLine(x+9,y+20,z,x+19,y+30,z,id,data);
    mc.drawLine(x+18,y+31,z,x+7,y+42,z,id,data);
    mc.drawLine(x+11,y+40,z,x+16,y+45,z,id,data);
    mc.drawLine(x+15,y+46,z,x+14,y+47,z,id,data);
    mc.drawLine(x+8,y+43,z,x+13,y+48,z,id,data);
    mc.drawLine(x+21,y,z,x+21,y+12,z,id,data);
    mc.drawLine(x+29,y,z,x+29,y+12,z,id,data);
    mc.drawLine(x+22,y+11,z,x+25,y+8,z,id,data);
    mc.drawLine(x+26,y+9,z,x+28,y+11,z,id,data);
    mc.setBlock(x+25,y+7,z,id,data);
    mc.drawLine(x+25,y+15,z,x+22,y+18,z,id,data);
    mc.drawLine(x+26,y+16,z,x+28,y+18,z,id,data);
    mc.drawLine(x+21,y+19,z,x+21,y+32,z,id,data);
    mc.drawLine(x+29,y+19,z,x+29,y+32,z,id,data);
    mc.drawLine(x+22,y+33,z,x+25,y+36,z,id,data);
    mc.drawLine(x+26,y+35,z,x+28,y+33,z,id,data);
    mc.drawLine(x+15,y+50,z,x+25,y+40,z,id,data);
    mc.drawLine(x+26,y+41,z,x+35,y+50,z,id,data);
    mc.drawLine(x+40,y,z,x+50,y+10,z,id,data);
    mc.drawLine(x+49,y+11,z,x+45,y+15,z,id,data);
    mc.drawLine(x+44,y+16,z,x+44,y+35,z,id,data);
    mc.drawLine(x+45,y+36,z,x+50,y+41,z,id,data);
    mc.drawLine(x+49,y+42,z,x+41,y+50,z,id,data);
    mc.drawLine(x+35,y+4,z,x+43,y+12,z,id,data);
    mc.drawLine(x+34,y+5,z,x+31,y+8,z,id,data);
    mc.drawLine(x+32,y+9,z,x+42,y+19,z,id,data);
    mc.drawLine(x+42,y+13,z,x+40,y+15,z,id,data);
    mc.drawLine(x+41,y+20,z,x+31,y+30,z,id,data);
    mc.drawLine(x+32,y+31,z,x+43,y+42,z,id,data);
    mc.drawLine(x+39,y+40,z,x+34,y+45,z,id,data);
    mc.drawLine(x+35,y+46,z,x+36,y+47,z,id,data);
    mc.drawLine(x+42,y+43,z,x+37,y+48,z,id,data);
    
}
int main() {
    bool con = mc.ConnectMinecraft("zk","4cd7d6e558c943c397a3a5243fa78e19");
    if(!con){
        cout<<"连接失败";
    }
    mc.setPlayerFly("wangyihang");
    int x,y,z;
    //Block list[500];
    //Block a;
    mc.fillBlocks(x,y,z,x+50,y+50,z+50,24,1);
    cout<<"请输入 X Y Z 坐标:";
    cin>>x>>y>>z;
    a(x,y+1,z);
    a(x,y+1,z+50);
    return 0;
}

 

标签:15,mc,神殿,drawLine,沙漠,42,data,id
From: https://www.cnblogs.com/wangyihang-xh/p/17536005.html

相关文章

  • 沙漠神殿(科幻版)
    #include<iostream>#include<string>#include"minecraft.h"usingnamespacestd;TxMinecraftmc;intmain(intargc,char**argv){boolcon=mc.ConnectMinecraft("zk.makeblock.net.cn","4c4ce4431bdc409388e0a110f5aa9d......
  • 沙漠神殿
    #include<iostream>#include"Windows.h"#include"minecraft.h"TxMinecraftmc;usingnamespacestd;intid=179,data=1;voidxian(intx,inty,intz){mc.drawLine(x+10,y,z,x,y+10,z,id,data);mc.drawLine(x,y+10,z,x+6,y+16,z......
  • c++沙漠神殿
    #include<iostream>#include"minecraft.h"#include<string>usingnamespacestd;TxMinecraftmc;intx=0,y=0,z=0;intmain(intargc,char**argv){boolcon=mc.ConnectMinecraft("zk.makeblock.net.cn","a9d44e758f6e4cf8b......
  • 沙漠神殿 (x)
    #include<iostream>#include<string>#include"Windows.h"#include"minecraft.h"TxMinecraftmc;usingnamespacestd;intmain(intargc,char**argv){boolcon=mc.ConnectMinecraft("zk","2839fa7a......
  • 塔克拉玛干沙漠5G基站成为首个700MHz5G超远覆盖基站
    安科瑞虞佳豪近日,在位于新疆巴音郭勒蒙古自治州轮台县的塔克拉玛干沙漠,中国移动新疆公司开通了首个沙漠公路700MHz5G超远覆盖基站,覆盖距离达30公里。新疆移动网络优化中心总经理祁江伟介绍,700MHz网络由中国移动和中国广电共建共享,具有绕射能力强等优势,尤其适合新疆区域地广人稀......
  • 沙漠神殿
    #include<iostream>#include"minecraft.h"usingnamespacestd;TxMinecraftmc;voidnum1(intx,inty,intz,intid,intdata){for(inti=0;i<=10;i++){mc.fillBlocks(x+i,y+i,z+i,x+20-i,y+i,z+20-i,id,data);}id=0;......
  • MC 沙漠神殿**还原
    #include<iostream>#include"minecraft.h"usingnamespacestd;TxMinecraftmc;intx=-864,y=150,z=280;intmain(intargc,char**argv){boolcon=mc.ConnectMinecraft("zk.makeblock.net.cn","a9d44e758f6e4cf8b2da2624156f24......
  • MC沙漠神殿
    #include<iostream>#include"minecraft.h"usingnamespacestd;TxMinecraftmc;voidnum1(intx,inty,intz,intid,intdata){for(inti=0;i<=10;i++){mc.fillBlocks(x+i,y+i,z+i,x+20-i,y+i,z+20-i,id,data);}id=0;......
  • 沙漠神殿
    #include<iostream>#include<string>#include"minecraft.h"usingnamespacestd;TxMinecraftmc;intx,y,z,id,data;boolcon=mc.ConnectMinecraft("zk","919b005179e840e1bf78fef437b2f298");voida(){ mc.fillOffsetB......
  • 沙漠神殿(不完整版)
    #include<iostream>#include"minecraft.h"usingnamespacestd;//-85198104TxMinecraftmc;intmain(intargc,char**argv){ boolcon=mc.ConnectMinecraft("zk.makeblock.net.cn","4c4ce4431bdc409388e0a110f5aa9dcc"); if......