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

沙漠神殿

时间:2023-07-07 20:33:58浏览次数:29  
标签:mc 神殿 drawLine 沙漠 50 19 data id

#include <iostream>
#include "Windows.h"
#include "minecraft.h"
TxMinecraft mc;
using namespace std;
int id=179,data=1;
void xian(int x,int y,int z){
    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+3,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+50,z,id,data);
    mc.drawLine(x+25,y+50,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+5,z,id,data);
    mc.drawLine(x+19,y+5,z,x+8,y+16,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+8,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+29,y+32,x+25,y+36,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+43,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);
}
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);
}

 

标签:mc,神殿,drawLine,沙漠,50,19,data,id
From: https://www.cnblogs.com/wangyanbo111/p/17535992.html

相关文章

  • 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......
  • Linux的shell脚本编写技巧和crontab计划任务的结合(沙漠一样干的干货)
    Shell脚本的重要性我想应该不需要我在重复了,本文的目的是向读者介绍Shell编程的一些固定套路,当然,也可以称之为技巧,而crontab计划任务又和Shell脚本密切相关(一般简单任务当然是写一条命令啦,如果比较复杂的场景还是脚本比较合事宜,并且,脚本更为灵活,拓展性更强啦)。一,脚本的结构就是第一......
  • 千年荒漠变绿洲,看沙漠“卫士”携手昇腾AI植起绿色希望
    摘要:风沙肆虐,沙漠侵蚀神州大地,华东师范大学基于昇腾AI基础软硬件平台研制的种树机器人成为沙漠“卫士”,穿越戈壁,跨越千里,为荒漠治理贡献力量!华师大携手昇腾AI共同植起绿色......