#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); //1 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); //2 return 0; }
标签:mc,神殿,19,沙漠,科幻,50,offsetDrawLine,data,id From: https://www.cnblogs.com/hanxuyao/p/17536008.html