首页 > 其他分享 >MC咸蛋超人代码

MC咸蛋超人代码

时间:2023-10-20 20:12:40浏览次数:31  
标签:咸蛋 MC mc int 超人 include con

#include <iostream>
#include "minecraft.h"
using namespace std;
TxMinecraft mc;
int x=-73,y=143,z=-254;
int main(int argc, char** argv) {
bool con=mc.ConnectMinecraft("zk.makeblock.net.cn","a9d44e758f6e4cf8b2da2624156f24d3");
    if(!con){
	    cout<<"连接失败";
	    return 0;
    }
    mc.setPlayerFly("wangyueshuo");
    cout<<"请输入坐标,空格分隔"<<endl;
    //下体 
    mc.drawLine(x+3,y+3,z,x+3,y+6,z,251,15);
    mc.setBlock(x+4,y+2,z,251,15);
    mc.drawLine(x+5,y+1,z,x+6,y+1,z,251,15);
    mc.drawLine(x+7,y+0,z,x+10,y+0,z,251,15);
    mc.drawLine(x+11,y+1,z,x+12,y+1,z,251,15);
    mc.drawLine(x+13,y+2,z,x+14,y+2,z,251,15);
    mc.setBlock(x+15,y+3,z,251,15);
    mc.setBlock(x+16,y+4,z,251,15);
    mc.drawLine(x+16,y+5,z,x+9,y+12,z,251,15);
    mc.drawLine(x+8,y+12,z,x+4,y+8,z,251,15);
    mc.setBlock(x+4,y+7,z,251,15);
    mc.setBlock(x+17,y+5,z,251,15);
    mc.drawLine(x+9,y+13,z,x+4,y+8,z,251,15);
    mc.drawLine(x+12,y+16,z,x+4,y+8,z,251,15);
    mc.drawLine(x+18,y+6,z,x+19,y+6,z,251,15);
    mc.setBlock(x+19,y+8,z,251,15);
    mc.drawLine(x+20,y+7,z,x+27,y+7,z,251,15);
    mc.setBlock(x+28,y+8,z,251,15);
    mc.drawLine(x+27,y+6,z,x+29,y+6,z,251,15);
    mc.setBlock(x+29,y+5,z,251,15);
    mc.setBlock(x+30,y+4,z,251,15);
    mc.drawLine(x+31,y+3,z,x+32,y+3,z,251,15);
    mc.drawLine(x+33,y+2,z,x+34,y+2,z,251,15);
    mc.drawLine(x+35,y+1,z,x+39,y+1,z,251,15);
    mc.setBlock(x+40,y+2,z,251,15);
    mc.drawLine(x+41,y+3,z,x+41,y+7,z,251,15);
    mc.drawLine(x+40,y+8,z,x+40,y+9,z,251,15);
    mc.drawLine(x+39,y+10,z,x+39,y+11,z,251,15);
    mc.drawLine(x+38,y+12,z,x+35,y+15,z,251,15);
    mc.drawLine(x+30,y+7,z,x+36,y+13,z,251,15);
    mc.setBlock(x+35,y+16,z,251,15);
    mc.drawLine(x+16,y+6,z,x+17,y+6,z,251,14);
    mc.drawLine(x+15,y+7,z,x+19,y+7,z,251,14);
    mc.drawLine(x+28,y+7,z,x+29,y+7,z,251,14);
    mc.drawLine(x+14,y+8,z,x+18,y+8,z,251,14);
    mc.drawLine(x+20,y+8,z,x+27,y+8,z,251,14);
    mc.drawLine(x+29,y+8,z,x+30,y+8,z,251,14);
    mc.drawLine(x+13,y+9,z,x+31,y+9,z,251,14);
    mc.drawLine(x+12,y+10,z,x+32,y+10,z,251,14);
    mc.drawLine(x+11,y+11,z,x+33,y+11,z,251,14);
    mc.drawLine(x+10,y+12,z,x+34,y+12,z,251,14);
    mc.drawLine(x+35,y+13,z,x+10,y+13,z,251,14);
    mc.drawLine(x+11,y+14,z,x+35,y+14,z,251,14);
    mc.drawLine(x+20,y+14,z,x+30,y+14,z,251,15);
    mc.drawLine(x+12,y+15,z,x+16,y+15,z,251,14);
    mc.drawLine(x+17,y+15,z,x+19,y+15,z,251,15);
    mc.drawLine(x+31,y+15,z,x+32,y+15,z,251,15);
    mc.drawLine(x+33,y+15,z,x+34,y+15,z,251,14);
    mc.drawLine(x+13,y+16,z,x+14,y+16,z,251,14);
    mc.drawLine(x+15,y+16,z,x+16,y+16,z,251,15);
    mc.setBlock(x+33,y+16,z,251,15);
    mc.setBlock(x+34,y+16,z,251,14);
    mc.drawLine(x+13,y+17,z,x+14,y+17,z,251,15);
    mc.drawLine(x+31,y+17,z,x+39,y+17,z,251,15);
    mc.setBlock(x+13,y+18,z,251,15);
    mc.drawLine(x+29,y+18,z,x+30,y+18,z,251,15);
    mc.setBlock(x+33,y+18,z,251,15);
    mc.drawLine(x+34,y+18,z,x+39,y+18,z,251,14);
    mc.drawLine(x+40,y+18,z,x+41,y+18,z,251,15);
    mc.setBlock(x+13,y+19,z,251,15);
    mc.drawLine(x+27,y+19,z,x+28,y+19,z,251,15);
    mc.setBlock(x+32,y+19,z,251,15);
    mc.drawLine(x+33,y+19,z,x+41,y+19,z,251,14);
    mc.setBlock(x+42,y+19,z,251,15);
    mc.setBlock(x+13,y+20,z,251,15);
    mc.drawLine(x+25,y+20,z,x+26,y+20,z,251,15);
    mc.setBlock(x+32,y+20,z,251,15);
    mc.drawLine(x+33,y+20,z,x+41,y+20,z,251,14);
    mc.setBlock(x+42,y+20,z,251,15);
    mc.drawLine(x+14,y+21,z,x+16,y+21,z,251,15);
    mc.drawLine(x+23,y+21,z,x+24,y+21,z,251,15);
    mc.setBlock(x+31,y+21,z,251,15);
    mc.drawLine(x+32,y+21,z,x+41,y+21,z,251,14);
    mc.setBlock(x+42,y+21,z,251,15);
    mc.setBlock(x+14,y+22,z,251,15);
    mc.drawLine(x+15,y+22,z,x+16,y+22,z,251,14);
    mc.setBlock(x+17,y+22,z,251,15);
    mc.setBlock(x+31,y+22,z,251,15);
    mc.drawLine(x+32,y+22,z,x+41,y+22,z,251,14);
    mc.setBlock(x+42,y+22,z,251,15);
    mc.setBlock(x+14,y+23,z,251,15);
    mc.drawLine(x+15,y+23,z,x+17,y+23,z,251,14);
    mc.setBlock(x+18,y+23,z,251,15);
    mc.setBlock(x+30,y+23,z,251,15);
    mc.drawLine(x+31,y+23,z,x+41,y+23,z,251,14);
    mc.setBlock(x+42,y+23,z,251,15);
    mc.setBlock(x+14,y+24,z,251,15);
    mc.drawLine(x+15,y+24,z,x+17,y+24,z,251,14);
    mc.setBlock(x+18,y+24,z,251,15);
    mc.setBlock(x+30,y+24,z,251,15);
    mc.drawLine(x+31,y+24,z,x+40,y+24,z,251,14);
    mc.setBlock(x+41,y+24,z,251,15);
    mc.setBlock(x+14,y+25,z,251,15);
    mc.drawLine(x+15,y+25,z,x+17,y+25,z,251,14);
    mc.setBlock(x+18,y+25,z,251,15);
    mc.setBlock(x+30,y+25,z,251,15);
    mc.drawLine(x+31,y+25,z,x+40,y+25,z,251,14);
    mc.drawLine(x+40,y+25,z,x+42,y+25,z,251,15);
    return 0;
}

  

标签:咸蛋,MC,mc,int,超人,include,con
From: https://www.cnblogs.com/wangyueshuo/p/17777919.html

相关文章

  • 关于tomcat容器抛出的异常解决方案之一
    1,描述问题类型:调试信息泄露如:现要求:前端页面不显示调试信息。解决方案:替换默认的tomcat<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-web</artifactId><exclusions><e......
  • jpa 连接sqlserver 发布tomcat报错 SunJSSE
    报错信息:java.ext.dirs:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-1.el7_9.x86_64/jre/lib/ext:/usr/java/packages/lib/ext20-Oct-202316:37:28.074信息[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0]com.microsoft.sqlserver.jdbc.TDSChanne......
  • CH32F系列MCU代码在SRAM中运行配置方法
    第一种:使用Keil仿真的方式。因SRAM启动与FLASH无关,在SRAM中运行,断电后数据丢失,故在keil下仅用于仿真。有四个注意事项:1)、BOOT0、BOOT1都需要接高电平,从RAM启动;2)、在Debug选项中,InitializationFile选项加载SRAM.INI文件;3)、FLashDownload界面中算法文件起始地址修改成RAM的起始......
  • win11下部署tomcat闪退的解决
    最近学校开了软件测试,需要部署个tomcat才能做作业可是学校发的tomcat是压缩包形式,不知道为啥死活弄不明白jdk和jre的路径,因此点startup.bat会闪退于是用sublime打开startup.bat,在最后end之后加上一行pause,这样看出是在运行某个.jar文件时出问题,因此猜测是java环境配置问题(上古老......
  • MC call软件质量模型
      ......
  • 关于 systemctl 的简单使用
    启动服务:systemctlstartvsftpd.service关闭服务:systemctlstopvsftpd.service重启服务:systemctlrestartvsftpd.service显示服务的状态:systemctlstatusvsftpd.service在开机时启用服务:systemctlenablevsftpd.service在开机时禁用服务:systemctldisablevsftpd.servic......
  • Windows下VC++编译器32位memcpy、memmove函数汇编代码详解
    整理者:赤勇玄心行天道QQ号:280604597微信号:qq280604597QQ群:511046632博客:www.cnblogs.com/gaoyaguo  blog.csdn.net/cyz7758520?type=blog大家有什么不明白的地方,或者想要详细了解的地方可以联系我,我会认真回复的!你可以随意转载,无需注明出处!写文档实属不易,我希望大家能支......
  • 【Azure 应用服务】App Service for Linux 环境中为Tomcat页面修改默认的Azure 404页
    问题描述在AppServiceLinux环境中,如部署Tomcat应用后,如果访问的页面找不到,应用会返回一个由Azure生成的404页面,那么是否可以修改它呢? PS:如果是AppServiceforWindows,可以参考博文[ AppServiceforWindows环境中为Tomcat自定义4xx/5xx页面 : https://www.cnblogs.com......
  • tomcat白名单(三)
    1JSSEava安全套接字扩展(JavaSecureSocketExtension,JSSE)为基于SSL和TLS协议地Java网络应用程序提供了API及参考实现。使用JSSE,能够保证采用各种应用层协议(比如HTTP、FTP等)地客户程序与服务器程序安全地交换数据。https://blog.csdn.net/weixin_44641388/article/details/11......
  • RX66T优化用于电机控制R5F566TFFGFP、R5F566TKGGFP、R5F566TKCGFP搭载第三代RXv3 CPU
    1、RX66T 框图2、描述RX66T32位MCU是基于第三代RXv3CPU内核的旗舰32位RXMCU系列中的首款产品。这些MCU优化用于电机控制,可满足实时性能和增强稳定性要求。这些特性帮助实现下一代智能工厂设备和智能家电中的逆变器控制。这些MCU还具有下一代设计中嵌入式AI所需的额外处理能......