首页 > 其他分享 >沙漠神殿(科幻版)

沙漠神殿(科幻版)

时间:2023-07-17 20:34:05浏览次数:22  
标签:10 mc 神殿 19 沙漠 科幻 offsetDrawLine data id

#include <iostream>
#include <string>
#include "minecraft.h"
using namespace std;
TxMinecraft mc;
int x,y,z,id,data; 
void a(){
    //第一面
    id=24;
    data=2;
    mc.fillOffsetBlocks(0,0,0,50,50,0,id,data);
    id=159;
    data=14;
    mc.offsetDrawLine(35,4,0,43,12,0,id,data);
    mc.offsetDrawLine(43,12,0,39,16,0,id,data);
    mc.offsetDrawLine(35,4,0,31,8,0,id,data);
    mc.offsetDrawLine(31,8,0,42,19,0,id,data);
    mc.offsetDrawLine(42,19,0,31,30,0,id,data);
    mc.offsetDrawLine(31,30,0,43,42,0,id,data);
    mc.offsetDrawLine(43,42,0,37,48,0,id,data);  
    mc.offsetDrawLine(37,48,0,34,45,0,id,data);  
    mc.offsetDrawLine(34,45,0,40,39,0,id,data);
    mc.offsetDrawLine(15,4,0,19,8,0,id,data);
     
    mc.offsetDrawLine(15,4,0,7,12,0,id,data);
    mc.offsetDrawLine(7,12,0,11,16,0,id,data);
    mc.offsetDrawLine(19,8,0,8,19,0,id,data);
    mc.offsetDrawLine(8,19,0,19,30,0,id,data);
    mc.offsetDrawLine(19,30,0,7,42,0,id,data);
    mc.offsetDrawLine(7,42,0,13,48,0,id,data);
    mc.offsetDrawLine(13,48,0,16,45,0,id,data);
    mc.offsetDrawLine(16,45,0,10,39,0,id,data);
    mc.offsetDrawLine(21,0,0,21,12,0,id,data);
    mc.offsetDrawLine(21,12,0,25,8,0,id,data);
    mc.offsetDrawLine(25,8,0,29,12,0,id,data);
    mc.offsetDrawLine(29,12,0,29,0,0,id,data);
    mc.offsetDrawLine(25,36,0,29,32,0,id,data);
    mc.offsetDrawLine(29,32,0,29,19,0,id,data);
    mc.offsetDrawLine(25,36,0,21,32,0,id,data);
    mc.offsetDrawLine(21,32,0,21,19,0,id,data);
    mc.offsetDrawLine(29,19,0,25,15,0,id,data);
     
    mc.offsetDrawLine(25,15,0,21,19,0,id,data);
    mc.offsetDrawLine(25,40,0,35,50,0,id,data);
    mc.offsetDrawLine(25,40,0,15,50,0,id,data);
    mc.offsetDrawLine(40,0,0,50,10,0,id,data);
    mc.offsetDrawLine(50,10,0,44,16,0,id,data);
    mc.offsetDrawLine(44,16,0,44,35,0,id,data);
    mc.offsetDrawLine(44,35,0,50,41,0,id,data);
    mc.offsetDrawLine(50,41,0,41,50,0,id,data);
    mc.offsetDrawLine(10,0,0,0,10,0,id,data);
    mc.offsetDrawLine(0,10,0,6,16,0,id,data);
    mc.offsetDrawLine(6,16,0,6,35,0,id,data);
    mc.offsetDrawLine(6,35,0,0,41,0,id,data);
    mc.offsetDrawLine(0,41,0,9,50,0,id,data);
    mc.offsetDrawLine(0,0,0,0,10,10,0,0);
    mc.offsetDrawLine(0,0,0,0,10,10,24,2);
    mc.offsetDrawLine(0,10,0,0,0,10,159,14);
    mc.setOffsetBlock(0,0,0,24,2);
    //第二面
    id=24;
    data=2;
    mc.fillOffsetBlocks(0,0,0,0,50,50,id,data);
    id=159;
    data=14;
    mc.offsetDrawLine(0,4,15,0,8,19,id,data);
    mc.offsetDrawLine(0,4,15,0,12,7,id,data);
    mc.offsetDrawLine(0,12,7,0,16,11,id,data);
    mc.offsetDrawLine(0,8,19,0,19,8,id,data);
    mc.offsetDrawLine(0,19,8,0,30,19,id,data);
    mc.offsetDrawLine(0,30,19,0,42,7,id,data);
    mc.offsetDrawLine(0,42,7,0,48,13,id,data);
    mc.offsetDrawLine(0,48,13,0,45,16,id,data);
    mc.offsetDrawLine(0,45,16,0,39,10,id,data);
    mc.offsetDrawLine(0,4,35,0,12,43,id,data);
    mc.offsetDrawLine(0,12,43,0,16,39,id,data);
    mc.offsetDrawLine(0,4,35,0,8,31,id,data);
    mc.offsetDrawLine(0,8,31,0,19,42,id,data);
    mc.offsetDrawLine(0,19,42,0,30,31,id,data);
    mc.offsetDrawLine(0,30,31,0,42,43,id,data);
    mc.offsetDrawLine(0,42,43,0,48,37,id,data);  
    mc.offsetDrawLine(0,48,37,0,45,34,id,data);  
    mc.offsetDrawLine(0,45,34,0,39,40,id,data);
    mc.offsetDrawLine(0,0,21,0,12,21,id,data);
    mc.offsetDrawLine(0,12,21,0,8,25,id,data);
    mc.offsetDrawLine(0,8,25,0,12,29,id,data);
    mc.offsetDrawLine(0,12,29,0,0,29,id,data);
    mc.offsetDrawLine(0,36,25,0,32,29,id,data);
    mc.offsetDrawLine(0,32,29,0,19,29,id,data);
    mc.offsetDrawLine(0,36,25,0,32,21,id,data);
    mc.offsetDrawLine(0,32,21,0,19,21,id,data);
    mc.offsetDrawLine(0,19,29,0,15,25,id,data);
    mc.offsetDrawLine(0,15,25,0,19,21,id,data);
    mc.offsetDrawLine(0,40,25,0,50,35,id,data);
    mc.offsetDrawLine(0,40,25,0,50,15,id,data);
    mc.offsetDrawLine(0,0,0,0,10,10,id,data);
    mc.offsetDrawLine(0,10,0,0,16,6,id,data);
    mc.offsetDrawLine(0,16,6,0,35,6,id,data);
    mc.offsetDrawLine(0,35,6,0,41,0,id,data);
    mc.offsetDrawLine(0,41,0,0,50,9,id,data);
    mc.offsetDrawLine(0,0,40,0,10,50,id,data);
    mc.offsetDrawLine(0,10,50,0,16,44,id,data);
    mc.offsetDrawLine(0,16,44,0,35,44,id,data);
    mc.offsetDrawLine(0,35,44,0,41,50,id,data);
    mc.offsetDrawLine(0,41,50,0,50,41,id,data);
    mc.offsetDrawLine(0,0,0,0,10,10,0,0);
    mc.offsetDrawLine(0,0,0,0,10,10,24,2);
    mc.setOffsetBlock(0,0,0,24,2);
    //第三面
    mc.setVariable(x,y,z+50);
    id=24;
    data=2;
    mc.fillOffsetBlocks(0,0,0,50,50,0,id,data);
    id=159;
    data=14;
    mc.offsetDrawLine(35,4,0,43,12,0,id,data);
    mc.offsetDrawLine(43,12,0,39,16,0,id,data);
    mc.offsetDrawLine(35,4,0,31,8,0,id,data);
    mc.offsetDrawLine(31,8,0,42,19,0,id,data);
    mc.offsetDrawLine(42,19,0,31,30,0,id,data);
    mc.offsetDrawLine(31,30,0,43,42,0,id,data);
    mc.offsetDrawLine(43,42,0,37,48,0,id,data);  
    mc.offsetDrawLine(37,48,0,34,45,0,id,data);  
    mc.offsetDrawLine(34,45,0,40,39,0,id,data);
    mc.offsetDrawLine(15,4,0,19,8,0,id,data);
    mc.offsetDrawLine(15,4,0,7,12,0,id,data);
    mc.offsetDrawLine(7,12,0,11,16,0,id,data);
    mc.offsetDrawLine(19,8,0,8,19,0,id,data);
    mc.offsetDrawLine(8,19,0,19,30,0,id,data);
    mc.offsetDrawLine(19,30,0,7,42,0,id,data);
    mc.offsetDrawLine(7,42,0,13,48,0,id,data);
    mc.offsetDrawLine(13,48,0,16,45,0,id,data);
    mc.offsetDrawLine(16,45,0,10,39,0,id,data);
    mc.offsetDrawLine(21,0,0,21,12,0,id,data);
    mc.offsetDrawLine(21,12,0,25,8,0,id,data);
    mc.offsetDrawLine(25,8,0,29,12,0,id,data);
    mc.offsetDrawLine(29,12,0,29,0,0,id,data);
    mc.offsetDrawLine(25,36,0,29,32,0,id,data);
    mc.offsetDrawLine(29,32,0,29,19,0,id,data);
    mc.offsetDrawLine(25,36,0,21,32,0,id,data);
    mc.offsetDrawLine(21,32,0,21,19,0,id,data);
    mc.offsetDrawLine(29,19,0,25,15,0,id,data);
    mc.offsetDrawLine(25,15,0,21,19,0,id,data);
    mc.offsetDrawLine(25,40,0,35,50,0,id,data);
    mc.offsetDrawLine(25,40,0,15,50,0,id,data);
    mc.offsetDrawLine(40,0,0,50,10,0,id,data);
    mc.offsetDrawLine(50,10,0,44,16,0,id,data);
    mc.offsetDrawLine(44,16,0,44,35,0,id,data);
    mc.offsetDrawLine(44,35,0,50,41,0,id,data);
    mc.offsetDrawLine(50,41,0,41,50,0,id,data);
    mc.offsetDrawLine(10,0,0,0,10,0,id,data);
    mc.offsetDrawLine(0,10,0,6,16,0,id,data);
    mc.offsetDrawLine(6,16,0,6,35,0,id,data);
    mc.offsetDrawLine(6,35,0,0,41,0,id,data);
    mc.offsetDrawLine(0,41,0,9,50,0,id,data);
    mc.offsetDrawLine(0,0,0,0,10,10,0,0);
    mc.setOffsetBlock(0,0,0,24,2);
    //第四面
    mc.setVariable(x+50,y,z);
    id=24;
    data=2;
    mc.fillOffsetBlocks(0,0,0,0,50,50,id,data);
    id=159;
    data=14;
    mc.offsetDrawLine(0,4,15,0,8,19,id,data);
    mc.offsetDrawLine(0,4,15,0,12,7,id,data);
    mc.offsetDrawLine(0,12,7,0,16,11,id,data);
    mc.offsetDrawLine(0,8,19,0,19,8,id,data);
    mc.offsetDrawLine(0,19,8,0,30,19,id,data);
    mc.offsetDrawLine(0,30,19,0,42,7,id,data);
    mc.offsetDrawLine(0,42,7,0,48,13,id,data);
    mc.offsetDrawLine(0,48,13,0,45,16,id,data);
    mc.offsetDrawLine(0,45,16,0,39,10,id,data);
    mc.offsetDrawLine(0,4,35,0,12,43,id,data);
    mc.offsetDrawLine(0,12,43,0,16,39,id,data);
    mc.offsetDrawLine(0,4,35,0,8,31,id,data);
    mc.offsetDrawLine(0,8,31,0,19,42,id,data);
    mc.offsetDrawLine(0,19,42,0,30,31,id,data);
    mc.offsetDrawLine(0,30,31,0,42,43,id,data);
    mc.offsetDrawLine(0,42,43,0,48,37,id,data);  
    mc.offsetDrawLine(0,48,37,0,45,34,id,data);  
    mc.offsetDrawLine(0,45,34,0,39,40,id,data);
    mc.offsetDrawLine(0,0,21,0,12,21,id,data);
    mc.offsetDrawLine(0,12,21,0,8,25,id,data);
    mc.offsetDrawLine(0,8,25,0,12,29,id,data);
    mc.offsetDrawLine(0,12,29,0,0,29,id,data);
    mc.offsetDrawLine(0,36,25,0,32,29,id,data);
    mc.offsetDrawLine(0,32,29,0,19,29,id,data);
    mc.offsetDrawLine(0,36,25,0,32,21,id,data);
    mc.offsetDrawLine(0,32,21,0,19,21,id,data);
    mc.offsetDrawLine(0,19,29,0,15,25,id,data);
    mc.offsetDrawLine(0,15,25,0,19,21,id,data);
    mc.offsetDrawLine(0,40,25,0,50,35,id,data);
    mc.offsetDrawLine(0,40,25,0,50,15,id,data);
    mc.offsetDrawLine(0,0,0,0,10,10,id,data);
    mc.offsetDrawLine(0,10,0,0,16,6,id,data);
    mc.offsetDrawLine(0,16,6,0,35,6,id,data);
    mc.offsetDrawLine(0,35,6,0,41,0,id,data);
    mc.offsetDrawLine(0,41,0,0,50,9,id,data);
    mc.offsetDrawLine(0,0,40,0,10,50,id,data);
    mc.offsetDrawLine(0,10,50,0,16,44,id,data);
    mc.offsetDrawLine(0,16,44,0,35,44,id,data);
    mc.offsetDrawLine(0,35,44,0,41,50,id,data);
    mc.offsetDrawLine(0,41,50,0,50,41,id,data);
    mc.offsetDrawLine(0,0,0,0,10,10,0,0);
    mc.offsetDrawLine(0,0,0,0,10,10,24,2);
    mc.offsetDrawLine(0,10,0,0,0,10,159,14);
    mc.setOffsetBlock(0,0,0,24,2);
}
int main(int argc, char** argv) {
    bool con=mc.ConnectMinecraft("zk","919b005179e840e1bf78fef437b2f298");
    if(!con){
        cout<<"连接失败"<<endl;
        return 0;
    }
    bool fly=true;
    mc.setPlayerFly("陈若麟",fly);
    cin>>x>>y>>z;//3259 51 4208
    mc.setVariable(x,y,z);
    mc.offsetDrawLine(0,10,0,0,0,10,159,14);
    a();
     
    return 0;

  

标签:10,mc,神殿,19,沙漠,科幻,offsetDrawLine,data,id
From: https://www.cnblogs.com/fushuxuan/p/17561132.html

相关文章

  • 沙漠神殿 Pro Max
    #include<iostream>#include"Windows.h"#include"minecraft.h"TxMinecraftmc;usingnamespacestd;intid=179,data=1;voidyou(intx,inty,intz){mc.fillOffsetBlocks(x,y-4,z,x,y+46,z+50,24,2);mc.drawLine(x,y,z+10,x,y+......
  • 沙漠神殿plus
    #include<iostream>#include"Windows.h"#include"minecraft.h"TxMinecraftmc;usingnamespacestd;intid=179,data=1;voidyou(intx,inty,intz){ mc.fillOffsetBlocks(x,y-4,z,x,y+46,z+50,24,2);mc.drawLine(x,y,z+10,x,y+10......
  • c++ 科幻版 沙漠神殿2
    #include<iostream>#include"minecraft.h"#include<string>usingnamespacestd;TxMinecraftmc;intx,y,z;boolcon;boollianjie(){ returncon=mc.ConnectMinecraft("mc.makeblock.net.cn","a9d44e758f6e4cf8b2da26241......
  • 沙漠神殿(科幻版)
    #include<iostream>#include"minecraft.h"#include"Windows.h"#include<string>usingnamespacestd;TxMinecraftmc;intx,y,z,id,data;voida(){//左 mc.offsetDrawLine(40,0,0,50,10,0,251,14); mc.offsetDrawLine(50,10,0,......
  • 沙漠神殿
    #include<iostream>#include<string>#include"minecraft.h"usingnamespacestd;TxMinecraftmc;voidone(intx,inty,intz){ intid,data; id=179;data=1; mc.drawLine(x+10,y,z,x,y+10,z,id,data); mc.drawLine(x,y+10,z,x+5,y+15,z,id......
  • 沙漠神殿
    #include<bits/stdc++.h>#include"minecraft.h"#include<Windows.h>usingnamespacestd;TxMinecraftmc;intid=159,data=14;/*structBlock{intx,y,z,id,data,_x,_y,_z;voidb(TxMinecraftmc){mc.setBlock(_x+x,_y......
  • 沙漠神殿(科幻版)
    #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......