#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