沙漠神殿

#include <iostream>
#include <string>
#include "minecraft.h"
using namespace std;
TxMinecraft mc;
int x,y,z,id,data;
bool con=mc.ConnectMinecraft("zk","919b005179e840e1bf78fef437b2f298");
void a(){
    mc.fillOffsetBlocks(0,0,0,21-1,0,21-1,24,0);
    mc.fillOffsetBlocks(1,1,1,20-1,1,20-1,24,0);
    mc.fillOffsetBlocks(2,1,2,19-1,1,19-1,0,0);
    mc.fillOffsetBlocks(2,2,2,19-1,2,19-1,24,0);
    mc.fillOffsetBlocks(3,2,3,18-1,2,18-1,0,0);
    mc.fillOffsetBlocks(3,3,3,18-1,3,18-1,24,0);
    mc.fillOffsetBlocks(4,3,4,17-1,3,17-1,0,0);
    mc.fillOffsetBlocks(4,4,4,17-1,4,17-1,24,0);
    mc.fillOffsetBlocks(9,4,9,11,4,11,0,0);
    mc.fillOffsetBlocks(5,5,5,16-1,5,16-1,24,0);
    mc.fillOffsetBlocks(6,5,6,15-1,5,15-1,0,0);
    mc.fillOffsetBlocks(6,6,6,15-1,6,15-1,24,0);
    mc.fillOffsetBlocks(7,6,7,14-1,6,14-1,0,0);
    mc.fillOffsetBlocks(7,7,7,14-1,7,14-1,24,0);
    mc.fillOffsetBlocks(8,7,8,13-1,7,13-1,0,0);
    mc.fillOffsetBlocks(8,8,8,13-1,8,13-1,24,0);
    mc.fillOffsetBlocks(9,8,9,12-1,8,12-1,0,0);
    mc.fillOffsetBlocks(9,9,9,12-1,9,12-1,24,0);
    mc.fillOffsetBlocks(10,9,10,11-1,9,11-1,0,0);
    mc.fillOffsetBlocks(10,10,10,11-1,10,11-1,24,0);
    mc.fillOffsetBlocks(11,10,11,10,10,10,0,0);
      
    mc.fillOffsetBlocks(10,0,10,10,0,10,159,11);
    mc.fillOffsetBlocks(8,0,10,7,0,10,159,1);
    mc.fillOffsetBlocks(12,0,10,13,0,10,159,1);
    mc.fillOffsetBlocks(10,0,12,10,0,13,159,1);
    mc.fillOffsetBlocks(10,0,8,10,0,7,159,1);
    mc.fillOffsetBlocks(9,0,9,9,0,9,159,1);
    mc.fillOffsetBlocks(11,0,9,11,0,9,159,1);
    mc.fillOffsetBlocks(9,0,11,9,0,11,159,1);
    mc.fillOffsetBlocks(11,0,11,11,0,11,159,1);
    //长方体
    mc.fillOffsetBlocks(5,1,1,11,4,2,24,0);
    mc.fillOffsetBlocks(5,1,3,11,4,4,24,0);
    mc.fillOffsetBlocks(5,1,16,11,4,17,24,0);
    mc.fillOffsetBlocks(5,1,18,11,4,19,24,0);
    mc.fillOffsetBlocks(5,1,3,11,2,4,0,0);
    mc.fillOffsetBlocks(5,1,17,11,2,18,0,0);
    mc.fillOffsetBlocks(12,3,4,17,3,4,24,0);
    mc.fillOffsetBlocks(12,3,16,17,3,16,24,0);
    //们
    mc.fillOffsetBlocks(9,5,5,9,7,5,24,2);
    mc.fillOffsetBlocks(10,7,5,10,7,5,24,2);
    mc.fillOffsetBlocks(11,5,5,11,7,5,24,2);
    mc.fillOffsetBlocks(9,5,6,11,7,6,24,0);
    mc.fillOffsetBlocks(10,5,5,10,6,6,0,0);
    //
    mc.fillOffsetBlocks(5,1,16,11,2,16,0,0);
    mc.fillOffsetBlocks(5,1,18,11,2,18,24,0);
    mc.fillOffsetBlocks(9,5,15,9,7,15,24,2);
    mc.fillOffsetBlocks(10,7,15,10,7,15,24,2);
    mc.fillOffsetBlocks(11,5,15,11,7,15,24,2);
    mc.fillOffsetBlocks(9,5,14,11,7,14,24,0);
    mc.fillOffsetBlocks(10,5,14,10,6,15,0,0);
    //柱子
     mc.fillOffsetBlocks(8,1,12,8,3,12,24,2);
     mc.fillOffsetBlocks(12,1,12,12,3,12,24,2);
     mc.fillOffsetBlocks(8,1,8,8,3,8,24,2);
     mc.fillOffsetBlocks(12,1,8,12,3,8,24,2);
     mc.fillOffsetBlocks(5,1,4,5,1,4,24,2);
     mc.fillOffsetBlocks(7,1,4,7,1,4,24,2);
     mc.fillOffsetBlocks(9,1,4,9,1,4,24,2);
     mc.fillOffsetBlocks(11,1,4,11,1,4,24,2);
     mc.fillOffsetBlocks(13,1,4,13,1,4,24,2);
     mc.fillOffsetBlocks(15,1,4,15,1,4,24,2);
     mc.fillOffsetBlocks(17,1,4,17,1,4,24,2);
     mc.fillOffsetBlocks(5,1,16,5,1,16,24,2);
     mc.fillOffsetBlocks(7,1,16,7,1,16,24,2);
     mc.fillOffsetBlocks(9,1,16,9,1,16,24,2);
     mc.fillOffsetBlocks(11,1,16,11,1,16,24,2);
     mc.fillOffsetBlocks(13,1,16,13,1,16,24,2);
     mc.fillOffsetBlocks(15,1,16,15,1,16,24,2);
     mc.fillOffsetBlocks(17,1,16,17,1,16,24,2);
     mc.fillOffsetBlocks(5,2,4,5,2,4,24,1);
     mc.fillOffsetBlocks(7,2,4,7,2,4,24,1);
     mc.fillOffsetBlocks(9,2,4,9,2,4,24,1);
     mc.fillOffsetBlocks(11,2,4,11,2,4,24,1);
     mc.fillOffsetBlocks(13,2,4,13,2,4,24,1);
     mc.fillOffsetBlocks(15,2,4,15,2,4,24,1);
     mc.fillOffsetBlocks(17,2,4,17,2,4,24,1);
     mc.fillOffsetBlocks(5,2,16,5,2,16,24,1);
     mc.fillOffsetBlocks(7,2,16,7,2,16,24,1);
     mc.fillOffsetBlocks(9,2,16,9,2,16,24,1);
     mc.fillOffsetBlocks(11,2,16,11,2,16,24,1);
     mc.fillOffsetBlocks(13,2,16,13,2,16,24,1);
     mc.fillOffsetBlocks(15,2,16,15,2,16,24,1);
     mc.fillOffsetBlocks(17,2,16,17,2,16,24,1);
     //小房间
     mc.fillOffsetBlocks(0,1,0,4,9,4,24,0);
     mc.fillOffsetBlocks(1,1,1,3,8,3,0,0);
     mc.fillOffsetBlocks(0,1,16,4,9,20,24,0);
     mc.fillOffsetBlocks(1,1,17,3,8,19,0,0);
     mc.fillOffsetBlocks(1,10,1,3,10,3,24,0);
     mc.fillOffsetBlocks(1,10,17,3,10,19,24,0);
     mc.fillOffsetBlocks(0,10,2,0,10,2,128,0);
     mc.fillOffsetBlocks(2,10,0,2,10,0,128,2);
     mc.fillOffsetBlocks(2,10,4,2,10,4,128,3);
     mc.fillOffsetBlocks(4,10,2,4,10,2,128,1);
     mc.fillOffsetBlocks(0,10,18,0,10,18,128,0);
     mc.fillOffsetBlocks(2,10,16,2,10,16,128,2);
     mc.fillOffsetBlocks(2,10,20,2,10,20,128,3);
     mc.fillOffsetBlocks(4,10,18,4,10,18,128,1);
     //图形
    mc.fillOffsetBlocks(0,2,1,0,8,3,24,2);
    mc.fillOffsetBlocks(1,2,0,3,8,0,24,2);
    mc.fillOffsetBlocks(0,1,2,0,7,2,159,1);
    mc.fillOffsetBlocks(0,6,1,0,7,3,159,1);
    mc.fillOffsetBlocks(0,4,1,0,4,3,159,1);
    mc.fillOffsetBlocks(0,4,2,0,4,2,24,1);
    mc.fillOffsetBlocks(0,6,2,0,6,2,24,1);
     
    mc.fillOffsetBlocks(2,1,0,2,7,0,159,1);
    mc.fillOffsetBlocks(1,6,0,3,7,0,159,1);
    mc.fillOffsetBlocks(1,4,0,3,4,0,159,1);
    mc.fillOffsetBlocks(2,4,0,2,4,0,24,1);
    mc.fillOffsetBlocks(2,6,0,2,6,0,24,1);
     
    mc.fillOffsetBlocks(0,1,2+16,0,7,2+16,159,1);
    mc.fillOffsetBlocks(0,6,1+16,0,7,3+16,159,1);
    mc.fillOffsetBlocks(0,4,1+16,0,4,3+16,159,1);
    mc.fillOffsetBlocks(0,4,2+16,0,4,2+16,24,1);
    mc.fillOffsetBlocks(0,6,2+16,0,6,2+16,24,1);
     
    mc.fillOffsetBlocks(2,1,0+20,2,7,0+20,159,1);
    mc.fillOffsetBlocks(1,6,0+20,3,7,0+20,159,1);
    mc.fillOffsetBlocks(1,4,0+20,3,4,0+20,159,1);
    mc.fillOffsetBlocks(2,4,0+20,2,4,0+20,24,1);
    mc.fillOffsetBlocks(2,6,0+20,2,6,0+20,24,1);
    //大门
    mc.fillOffsetBlocks(1,1,5,4,3,8,24,0);
    mc.fillOffsetBlocks(1,1,12,4,3,15,24,0);
    mc.fillOffsetBlocks(0,1,8,0,3,8,24,0);
    mc.fillOffsetBlocks(0,1,12,0,3,12,24,0);
    mc.fillOffsetBlocks(0,4,8,0,5,12,24,2);
    mc.fillOffsetBlocks(0,6,9,0,6,11,24,2);
    mc.fillOffsetBlocks(0,5,9,0,5,11,159,1);
    mc.fillOffsetBlocks(0,5,10,0,5,10,24,1);
    mc.fillOffsetBlocks(1,1,9,1,3,11,24,2);
    mc.fillOffsetBlocks(1,1,10,2,2,10,0,0);
    mc.fillOffsetBlocks(2,1,4,2,2,16,0,0);
    mc.fillOffsetBlocks(1,4,8,3,4,12,24,0);
    mc.fillOffsetBlocks(4,1,8,4,3,8,24,0);
    mc.fillOffsetBlocks(4,1,12,4,3,12,24,0);
    //台阶
	mc.offsetDrawLine(5,4,2,4,3,2,128,0);
	mc.offsetDrawLine(5,4,18,4,3,18,128,0); 
	mc.fillOffsetBlocks(3,1,1,3,2,2,24,0);
	mc.fillOffsetBlocks(3,1,18,3,2,19,24,0); 
	mc.fillOffsetBlocks(4,4,2,4,6,2,0,0);
	mc.fillOffsetBlocks(4,4,18,4,6,18,0,0);
	mc.fillOffsetBlocks(2,1,2,2,1,2,128,3);
	mc.fillOffsetBlocks(2,2,1,2,2,1,44,1);
	mc.fillOffsetBlocks(2,1,1,2,1,1,24,0);
	mc.fillOffsetBlocks(2,1,18,2,1,18,128,3);
	mc.fillOffsetBlocks(2,2,19,2,2,19,44,1);
	mc.fillOffsetBlocks(2,1,19,2,1,19,24,0);
}
int main() {
    if(!con){
        cout<<"连接失败";
    }
    cin>>x>>y>>z;
    mc.setVariable(x,y,z);
    a();
    return 0;
}

  

  

posted @ 2023-04-09 10:02  陈若麟  阅读(23)  评论(0编辑  收藏  举报