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

沙漠神殿

时间:2023-04-09 10:11:20浏览次数:39  
标签:24 10 15 mc 神殿 沙漠 11 fillOffsetBlocks

#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(9,1,1,15,4,2,24,0);
	mc.fillOffsetBlocks(9,1,3,15,4,4,24,0);
	mc.fillOffsetBlocks(9,1,16,15,4,17,24,0);
	mc.fillOffsetBlocks(9,1,18,15,4,19,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(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);
}
int main() {
	if(!con){
		cout<<"连接失败";
	}
	cin>>x>>y>>z;
	mc.setVariable(x,y,z);
	a();
	return 0;
}

  

标签:24,10,15,mc,神殿,沙漠,11,fillOffsetBlocks
From: https://www.cnblogs.com/As10016/p/17299883.html

相关文章

  • 沙漠神殿(不完整版)
    #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共同植起绿色......
  • valheim英灵神殿Linux使用docker开服
    valheim英灵神殿Linux使用docker开服使用机器:2核4G的Ubuntu,swap设置为8G(满足配置能装docker的Linux就行)在docker官网的镜像站有别人封装好的镜像,我们下载下来启动就可......