首页 > 其他分享 >MC 旋转木马

MC 旋转木马

时间:2024-06-15 10:02:13浏览次数:19  
标签:13 MC mc int 旋转 drawLine setBlock 木马 251

#include <iostream>
#include "minecraft.h"
using namespace std;
TxMinecraft mc;
int x=-1085,y=64,z=-652;
int main(int argc, char** argv) {
bool con=mc.ConnectMinecraft("zk.makeblock.net.cn","a9d44e758f6e4cf8b2da2624156f24d3");
    if(!con){
    cout<<"连接失败"<<mc.Back_data;
    return 0;
    }
    mc.setPlayerFly("wangyueshuo");
    mc.fillBlocks(x-2,y-2,z-1,x+22,y+10,z+22,0,0);
//    mc.drawLine(x,y+1,z,x,y+8,z,251,14);
//    mc.setBlock(x+0,y+1,z+1,98,3);
//    mc.fillBlocks(x-2,y+9,z-1,x+9,y+10,z+1,0,0);
	mc.setBlock(x+8,y+0,z+0,189,0);
    mc.setBlock(x+7,y+0,z+0,189,0);
    mc.setBlock(x+6,y+0,z+0,189,0);
    mc.setBlock(x+6,y,z+1,189,0);
    mc.setBlock(x+5,y,z+1,189,0);
    mc.setBlock(x+4,y,z+1,189,0);
    mc.setBlock(x+4,y,z+2,189,0);
    mc.setBlock(x+3,y,z+2,189,0);
	mc.setBlock(x+3,y,z+3,189,0);
    mc.setBlock(x+2,y,z+3,189,0);
    mc.setBlock(x+2,y,z+4,189,0);
    mc.setBlock(x+2,y,z+5,189,0);
    mc.setBlock(x+1,y,z+5,189,0);
    mc.setBlock(x+1,y,z+6,189,0);
    mc.setBlock(x+1,y,z+7,189,0);
    mc.drawLine(x+0,y,z+7,x+0,y,z+13,189,0);
    mc.drawLine(x+1,y,z+13,x+1,y,z+15,189,0);
    mc.drawLine(x+2,y,z+15,x+2,y,z+17,189,0);
    mc.setBlock(x+3,y,z+17,189,0);
    mc.setBlock(x+3,y,z+18,189,0);
    mc.setBlock(x+4,y,z+18,189,0);
    mc.drawLine(x+4,y,z+19,x+6,y,z+19,189,0);
    mc.drawLine(x+6,y,z+20,x+8,y,z+20,189,0);
    mc.drawLine(x+8,y,z+21,x+14,y,z+21,189,0);
    mc.drawLine(x+14,y,z+20,x+16,y,z+20,189,0);
    mc.drawLine(x+16,y,z+19,x+18,y,z+19,189,0);
    mc.setBlock(x+18,y,z+18,189,0);
    mc.setBlock(x+19,y,z+18,189,0);
    mc.setBlock(x+19,y,z+17,189,0);
    mc.drawLine(x+20,y,z+17,x+20,y,z+15,189,0);
    mc.drawLine(x+21,y,z+15,x+21,y,z+13,189,0);
    mc.drawLine(x+22,y,z+13,x+22,y,z+7,189,0);
    mc.drawLine(x+21,y,z+7,x+21,y,z+5,189,0);
    mc.drawLine(x+20,y,z+5,x+20,y,z+3,189,0);
    mc.setBlock(x+19,y,z+3,189,0);
    mc.setBlock(x+18,y,z+3,189,0);
    mc.setBlock(x+18,y,z+2,189,0);
    mc.drawLine(x+18,y,z+1,x+16,y,z+1,189,0);
    mc.drawLine(x+16,y,z+0,x+14,y,z+0,189,0);
	mc.drawCircle(x+11,y-1,z+10,10,24,2,mc.x);    
    mc.drawCircle(x+11,y-1,z+10,9,98,0,mc.x);  
    mc.drawCircle(x+11,y,z+10,8,251,14,mc.x);  
    mc.setBlock(x+7,y-1,z+3,89,0);
    mc.setBlock(x+7,y,z+3,20,0);
    mc.setBlock(x+8,y+2,z+3,139,0);
    mc.drawLine(x+8,y+3,z+3,x+8,y+7,z+3,189,0);
    mc.setBlock(x+8,y+8,z+3,139,0);
    mc.setBlock(x+4,y-1,z+6,89,0);
    mc.setBlock(x+4,y,z+6,20,0);
    mc.setBlock(x+4,y+2,z+7,139,0);
    mc.drawLine(x+4,y+3,z+7,x+4,y+7,z+7,189,0);
    mc.setBlock(x+4,y+8,z+7,139,0);
    mc.setBlock(x+3,y-1,z+10,89,0);
    mc.setBlock(x+3,y,z+10,20,0);
    mc.setBlock(x+4,y-1,z+14,89,0);
    mc.setBlock(x+4,y,z+14,20,0);
    mc.setBlock(x+4,y+2,z+13,139,0);
    mc.drawLine(x+4,y+3,z+13,x+4,y+7,z+13,189,0);
    mc.setBlock(x+4,y+8,z+13,139,0);
    mc.setBlock(x+7,y-1,z+17,89,0);
    mc.setBlock(x+7,y,z+17,20,0);
    mc.setBlock(x+8,y+2,z+17,139,0);
    mc.drawLine(x+8,y+3,z+17,x+8,y+7,z+17,189,0);
    mc.setBlock(x+8,y+8,z+17,139,0);
    mc.setBlock(x+11,y-1,z+18,89,0);
    mc.setBlock(x+11,y,z+18,20,0);
    mc.setBlock(x+15,y-1,z+17,89,0);
    mc.setBlock(x+15,y,z+17,20,0);
    mc.setBlock(x+14,y+2,z+17,139,0);
    mc.drawLine(x+14,y+3,z+17,x+14,y+7,z+17,189,0);
    mc.setBlock(x+14,y+8,z+17,139,0);
    mc.setBlock(x+18,y-1,z+14,89,0);
    mc.setBlock(x+18,y,z+14,20,0);
    mc.setBlock(x+18,y+2,z+13,139,0);
    mc.drawLine(x+18,y+3,z+13,x+18,y+7,z+13,189,0);
    mc.setBlock(x+18,y+8,z+13,139,0);
    mc.setBlock(x+19,y-1,z+10,89,0);
    mc.setBlock(x+19,y,z+10,20,0);
    mc.setBlock(x+18,y-1,z+6,89,0);
    mc.setBlock(x+18,y,z+6,20,0);
    mc.setBlock(x+18,y+2,z+7,139,0);
    mc.drawLine(x+18,y+3,z+7,x+18,y+7,z+7,189,0);
    mc.setBlock(x+18,y+8,z+7,139,0);
    mc.setBlock(x+15,y-1,z+3,89,0);
    mc.setBlock(x+15,y,z+3,20,0);
    mc.setBlock(x+14,y+2,z+3,139,0);
    mc.drawLine(x+14,y+3,z+3,x+14,y+7,z+3,189,0);
    mc.setBlock(x+14,y+8,z+3,139,0);
    for(int i=8;i>=1;i--){
    	mc.drawCircle(x+11,y+1,z+10,i,251,0,mc.x);  
	}
    
    
    mc.drawLine(x+9,y+0,z+1,x+13,y+0,z+1,251,14);
    mc.setBlock(x+9,y,z+1,251,0);
    mc.setBlock(x+13,y,z+1,251,0);
    mc.drawLine(x+10,y+1,z+2,x+12,y+1,z+2,251,14);
    mc.drawLine(x+10,y+0,z+0,x+12,y+0,z+0,171,14);
    mc.setBlock(x+9,y,z+0,44,7);
    mc.setBlock(x+13,y,z+0,44,7);
    
    
    
    return 0;
}

  

标签:13,MC,mc,int,旋转,drawLine,setBlock,木马,251
From: https://www.cnblogs.com/wangyueshuo/p/18249026

相关文章

  • 旋转木马
    #include<bits/stdc++.h>#include"minecraft.h"#include<Windows.h>usingnamespacestd;TxMinecraftmc;intmain(){boolcon=mc.ConnectMinecraft("zk","4cd7d6e558c943c397a3a5243fa78e19");if(!con){......
  • 旋转木马
    #include<iostream>#include<string>#include"minecraft.h"usingnamespacestd;TxMinecraftmc;intmain(intargc,char**argv){ boolcon=mc.ConnectMinecraft("zk","08bd17c1ea594f2684182fd956c2d172"); if(!con)......
  • 旋转木马
    #include<iostream>#include"minecraft.h"#include"Windows.h"usingnamespacestd;TxMinecraftmc;//stringid,data;intmain(){boolcon=mc.ConnectMinecraft("zk","919b005179e840e1bf78fef437b2f298");i......
  • 二分【3】 旋转数组
    目录旋转数组旋转数组找最小值旋转数组找指定值  严格递增序列递增序列 旋转序列找中位数: 旋转数组旋转数组找最小值思路#include<iostream>#include<vector>#include<cmath>#include<string>#include<cstring>#include<algorithm>usingnamespac......
  • 【很全】PON/EPON/GPON/OAM/OMCI基本原理(2024最新)
    目录1PON前置知识1.1PON系统架构1.2PON应用场景(FTTx)1.3PON数据传输(TDM/TDMA)1.4PON设备介绍1.4.1OLT1.4.2ODN1.4.3ONU2PON协议规范2.1EPON2.1.1EPON协议栈2.1.1.1EPON帧结构2.1.1.2MPCP子层2.1.2EPON工作机制2.1.2.1EPON注册2.1.2.2EPON拓展OAM......
  • 代码随想录 算法训练营 day9 Leetcode151 反转字符串单词 karma55 右旋转字符串 28 实
    Leetcode151反转字符串单词题目链接讲解此题方法很多很重要注重基础解法classSolution{publicStringreverseWords(Strings){char[]initialArr=s.toCharArray();//新字符数组char[]newArr=newchar[initialArr.length+1];//下......
  • ESP8266 NodeMCU Lua 开发看这里
    最近开发ESP8266-NodeMCU因为开发过合宙4G模块,用的Lua,所以这里也用Lua。但是最开始两眼一抹黑,在网上找资料,乱七八糟,需要Lua固件库、LuaAPI文档、Lua例程、固件下载工具、IDE(Lua代码编写和下载)、串口驱动(这是常识,就不用说了)找来找去,气死我了!!!!都是介绍下工具咋使用、弄个d......
  • Teamcenter AWC 前端导出Excel表
    1.添加xlsx.js支持://importXLSXfrom'js/xlsx.js'---开发模式可以运行,打包出错constXLSX=require('D:/Siemens/Teamcenter14/aws2/sheetjs-v0.18.5/xlsx.js');2.导出代码同poi很类似 vartableData=[];exportconstexportXlsDemo=function( ){  const......
  • Teamcenter AWC aw-chart自定义图表
    1.从服务器获取数据:exportconstqueryChartsData=function(data){// returnnewPromise(function(resolve){//  setTimeout(function(){    varURL_service=get_URL_service()+"reports/get_workflow_datas";//    eventBus.publish("pro......
  • systemctl管理shell脚本开机自启动
    1.使用场景说明   如果想使用我们的systemctl管理shell脚本开机自启动,可以试试如下方法2.systemctl管理配置中#要使用systemctl开机启动的脚步路径ls/data/shell/SO/container_management.sh #配置systemctl管理文件[root@localhostSO]#cat/etc/systemd/system......