首页 > 其他分享 >四合院

四合院

时间:2023-07-13 20:33:45浏览次数:28  
标签:mc 四合院 62 offsetDrawLine fillOffsetBlocks data id

#include <iostream>
#include <string>
#include "minecraft.h"
using namespace std;
TxMinecraft mc;
int main(int argc, char** argv)
{
bool con=mc.ConnectMinecraft("zk.makeblock.net.cn","4c4ce4431bdc409388e0a110f5aa9dcc");
if(!con){
return 0;
cout<<"连接失败";
}
bool fly=true;
mc.setPlayerFly("hanxuyao",fly);
int x,y,z,id,data;
cin>>x>>y>>z;
mc.setVariable(x,y,z);
//A:44 8 B:44 13 c:98 0 D:44 5 E:42 0 F:44 0 H:126 0 I:251 0
//1
id=44,data=8;
mc.offsetDrawLine(23,0,18,23,0,19,id,data);
mc.offsetDrawLine(43,0,18,43,0,19,id,data);
mc.offsetDrawLine(29,0,15,29,0,22,id,data);
mc.offsetDrawLine(37,0,15,37,0,22,id,data);
mc.offsetDrawLine(29,0,28,29,0,63,id,data);
mc.offsetDrawLine(37,0,28,37,0,63,id,data);
mc.offsetDrawLine(18,0,45,48,0,45,id,data);
mc.offsetDrawLine(18,0,51,48,0,51,id,data);
mc.offsetDrawLine(4,0,5,62,0,5,id,data);
mc.offsetDrawLine(4,0,11,62,0,11,id,data);
mc.offsetDrawLine(4,0,4,4,0,76,id,data);
mc.offsetDrawLine(62,0,4,62,0,76,id,data);
mc.offsetDrawLine(3,0,25,28,0,25,id,data);
mc.offsetDrawLine(38,0,25,62,0,25,id,data);
mc.offsetDrawLine(28,0,4,28,0,12,id,data);
mc.offsetDrawLine(28,0,22,28,0,28,id,data);
mc.offsetDrawLine(38,0,4,38,0,12,id,data);
mc.offsetDrawLine(38,0,22,38,0,28,id,data);
mc.offsetDrawLine(28,0,23,38,0,23,id,data);
mc.offsetDrawLine(28,0,27,38,0,27,id,data);
mc.offsetDrawLine(14,0,11,14,0,38,id,data);
mc.offsetDrawLine(4,0,38,17,0,38,id,data);
mc.offsetDrawLine(4,0,59,17,0,59,id,data);
mc.offsetDrawLine(4,0,70,20,0,70,id,data);
mc.offsetDrawLine(4,0,76,20,0,76,id,data);
mc.offsetDrawLine(62,0,38,49,0,38,id,data);
mc.offsetDrawLine(62,0,59,49,0,59,id,data);
mc.offsetDrawLine(62,0,70,46,0,70,id,data);
mc.offsetDrawLine(62,0,76,46,0,76,id,data);
mc.offsetDrawLine(52,0,25,52,0,38,id,data);
mc.offsetDrawLine(21,0,64,45,0,64,id,data);
mc.offsetDrawLine(21,0,82,45,0,82,id,data);
mc.offsetDrawLine(21,0,63,21,0,83,id,data);
mc.offsetDrawLine(45,0,63,45,0,83,id,data);
id=44,data=13;
mc.fillOffsetBlocks(30,0,15,36,0,22,id,data);
mc.fillOffsetBlocks(30,0,28,36,0,63,id,data);
mc.fillOffsetBlocks(18,0,46,48,0,50,id,data);
//2
id=98 ,data=0;
mc.offsetDrawLine(29,1,3,37,1,3,id,data);
mc.offsetDrawLine(28,1,4,38,1,4,id,data);
mc.offsetDrawLine(28,1,12,38,1,12,id,data);
mc.offsetDrawLine(29,1,13,37,1,13,id,data);
mc.offsetDrawLine(4,1,4,4,1,4,id,data);
mc.offsetDrawLine(62,1,4,62,1,4,id,data);
mc.fillOffsetBlocks(4,1,5,62,1,11,id,data);
mc.fillOffsetBlocks(4,1,12,14,1,24,id,data);
mc.fillOffsetBlocks(4,1,25,14,1,58,id,data);
mc.fillOffsetBlocks(4,1,59,7,1,75,id,data);
mc.fillOffsetBlocks(8,1,70,20,1,75,id,data);
mc.fillOffsetBlocks(21,1,62,21,1,62,id,data);
mc.fillOffsetBlocks(21,1,82,21,1,82,id,data);
mc.fillOffsetBlocks(45,1,62,45,1,62,id,data);
mc.fillOffsetBlocks(45,1,82,45,1,82,id,data);
mc.fillOffsetBlocks(21,1,62,45,1,81,id,data);
mc.fillOffsetBlocks(15,1,38,16,1,58,id,data);
mc.fillOffsetBlocks(17,1,38,17,1,38,id,data);
mc.fillOffsetBlocks(17,1,45,17,1,45,id,data);
mc.fillOffsetBlocks(17,1,51,17,1,51,id,data);
mc.fillOffsetBlocks(17,1,58,17,1,58,id,data);
mc.fillOffsetBlocks(46,1,70,62,1,75,id,data);
mc.fillOffsetBlocks(59,1,69,62,1,59,id,data);
mc.fillOffsetBlocks(49,1,45,49,1,45,id,data);
mc.fillOffsetBlocks(49,1,51,49,1,51,id,data);
mc.fillOffsetBlocks(49,1,58,49,1,58,id,data);
mc.fillOffsetBlocks(50,1,39,62,1,58,id,data);
mc.fillOffsetBlocks(49,1,38,62,1,25,id,data);
mc.fillOffsetBlocks(62,1,12,62,1,24,id,data);
mc.fillOffsetBlocks(48,1,25,38,1,28,id,data);
mc.fillOffsetBlocks(15,1,25,28,1,28,id,data);
mc.fillOffsetBlocks(30,1,24,36,1,26,id,data);
mc.offsetDrawLine(23,1,12,23,1,17,id,data);
mc.offsetDrawLine(23,1,20,23,1,24,id,data);
mc.offsetDrawLine(43,1,12,43,1,17,id,data);
mc.offsetDrawLine(43,1,20,43,1,24,id,data);
mc.offsetDrawLine(38,1,22,38,1,24,id,data);
mc.offsetDrawLine(37,1,23,37,1,27,id,data);
mc.offsetDrawLine(28,1,22,28,1,24,id,data);
mc.offsetDrawLine(29,1,23,29,1,27,id,data);
return 0;
}

 

标签:mc,四合院,62,offsetDrawLine,fillOffsetBlocks,data,id
From: https://www.cnblogs.com/hanxuyao/p/17552058.html

相关文章