#include <iostream> #include "minecraft.h" #include "Windows.h" #include <string> using namespace std; TxMinecraft mc; int x,y,z,id,data; void a(){ //左 mc.offsetDrawLine(40,0,0,50,10,0,251,14); mc.offsetDrawLine(50,10,0,45,15,0,251,14); mc.offsetDrawLine(44,10,0,44,35,0,251,14); mc.offsetDrawLine(41,50,0,50,41,0,251,14); mc.offsetDrawLine(49,40,0,45,36,0,251,14); mc.offsetDrawLine(37,48,0,42,43,0,251,14); mc.offsetDrawLine(34,45,0,39,40,0,251,14); mc.offsetDrawLine(36,47,0,35,46,0,251,14); mc.offsetDrawLine(43,42,0,32,31,0,251,14); mc.offsetDrawLine(39,12,0,43,16,0,251,14); mc.offsetDrawLine(31,4,0,35,8,0,251,14); mc.offsetDrawLine(35,12,0,43,4,0,251,14); mc.offsetDrawLine(31,18,0,41,8,0,251,14); mc.offsetDrawLine(31,30,0,42,19,0,251,14); mc.offsetDrawLine(35,50,0,25,41,0,251,14); mc.offsetDrawLine(25,36,0,29,32,0,251,14); mc.offsetDrawLine(29,19,0,29,32,0,251,14); mc.offsetDrawLine(25,15,0,29,19,0,251,14); mc.offsetDrawLine(29,0,0,29,12,0,251,14); mc.offsetDrawLine(28,11,0,25,8,0,251,14); mc.setOffsetBlock(25,7,0,251,14); //右 mc.offsetDrawLine(10,0,0,0,10,0,251,14); mc.offsetDrawLine(0,10,0,5,15,0,251,14); mc.offsetDrawLine(6,10,0,6,35,0,251,14); mc.offsetDrawLine(9,50,0,0,41,0,251,14); mc.offsetDrawLine(1,40,0,5,36,0,251,14); mc.offsetDrawLine(13,48,0,8,43,0,251,14); mc.offsetDrawLine(16,45,0,11,40,0,251,14); mc.offsetDrawLine(14,47,0,15,46,0,251,14); mc.offsetDrawLine(7,42,0,18,31,0,251,14); mc.offsetDrawLine(11,12,0,7,16,0,251,14); mc.offsetDrawLine(19,4,0,15,8,0,251,14); mc.offsetDrawLine(15,12,0,7,4,0,251,14); mc.offsetDrawLine(19,18,0,9,8,0,251,14); mc.offsetDrawLine(19,30,0,8,19,0,251,14); mc.offsetDrawLine(15,50,0,25,41,0,251,14); mc.offsetDrawLine(25,36,0,21,32,0,251,14); mc.offsetDrawLine(21,19,0,21,32,0,251,14); mc.offsetDrawLine(25,15,0,21,19,0,251,14); mc.offsetDrawLine(21,0,0,21,12,0,251,14); mc.offsetDrawLine(22,11,0,25,8,0,251,14); //红 左 mc.offsetDrawLine(51,0,-1,51,10,-1,24,2); } int main() { bool con=mc.ConnectMinecraft("zk","919b005179e840e1bf78fef437b2f298"); if(!con){ cout<<"连接失败"<<endl; } bool fly=true; mc.setPlayerFly("陈若麟",fly); cin>>x>>y>>z; mc.setVariable(x,y,z); a(); return 0; }
标签:25,14,mc,神殿,19,沙漠,科幻,offsetDrawLine,251 From: https://www.cnblogs.com/As10016/p/17536002.html