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

旋转木马

时间:2024-06-15 10:02:31浏览次数:17  
标签:mc int 旋转 木马 include con

#include <iostream>
#include "Windows.h"
#include "minecraft.h"
using namespace std;
TxMinecraft mc;
int main(int argc, char** argv) {
    bool con=mc.ConnectMinecraft("zk.makeblock.net.cn","5e4b836266f24246a55e9fa70d058f7f");
    if(!con){
        cout<<"sb";
    }
    mc.setPlayerFly("liujiaxing");
    int x=-1039,y=123,z=-689;
    //DIZUO
    mc.drawCircle(x+10,y+1,z+10,11,189,0,mc.x);
    mc.drawCircle(x+10,y,z+10,10,24,2,mc.x);
    mc.drawCircle(x+10,y,z+10,9,98,0,mc.x);
    mc.drawCircle(x+10,y+1,z+10,8,251,14,mc.x);
    mc.drawCircle(x+10,y+2,z+10,7,251,0,mc.x);
    mc.drawCircle(x+10,y+2,z+10,6,251,0,mc.x);
    mc.drawCircle(x+10,y+2,z+10,5,251,0,mc.x);
    mc.drawCircle(x+10,y+2,z+10,4,251,0,mc.x);
    mc.drawCircle(x+10,y+2,z+10,3,251,0,mc.x);
    mc.drawCircle(x+10,y+2,z+10,2,251,0,mc.x);
    mc.drawCircle(x+10,y+2,z+10,1,251,0,mc.x);
    //tu
    mc.drawLine(x+3,y+2,z+8,x+3,y+2,z+9,251,14);
    mc.drawLine(x+4,y+2,z+6,x+4,y+2,z+9,251,14);
    mc.drawLine(x+5,y+2,z+5,x+5,y+2,z+9,251,14);
    mc.drawLine(x+6,y+2,z+6,x+6,y+2,z+9,251,14);
    mc.drawLine(x+7,y+2,z+7,x+7,y+2,z+9,251,14);
    mc.drawLine(x+8,y+2,z+8,x+8,y+2,z+9,251,14);
    //
    mc.drawLine(x+11,y+2,z+3,x+11,y+2,z+8,251,14);
    mc.drawLine(x+12,y+2,z+3,x+12,y+2,z+8,251,14);
    mc.drawLine(x+13,y+2,z+4,x+13,y+2,z+7,251,14);
    mc.drawLine(x+14,y+2,z+4,x+14,y+2,z+6,251,14);
    mc.drawLine(x+15,y+2,z+5,x+15,y+2,z+5,251,14);
    //
    mc.drawLine(x+9,y+2,z+12,x+9,y+2,z+17,251,14);
    mc.drawLine(x+8,y+2,z+12,x+8,y+2,z+17,251,14);
    mc.drawLine(x+7,y+2,z+13,x+7,y+2,z+16,251,14);
    mc.drawLine(x+8,y+2,z+14,x+8,y+2,z+16,251,14);
    return 0;
}

 

标签:mc,int,旋转,木马,include,con
From: https://www.cnblogs.com/liujiaxing-/p/18249028

相关文章

  • MC 旋转木马
    #include<iostream>#include"minecraft.h"usingnamespacestd;TxMinecraftmc;intx=-1085,y=64,z=-652;intmain(intargc,char**argv){boolcon=mc.ConnectMinecraft("zk.makeblock.net.cn","a9d44e758f6e4cf8b2da2624156f24d3&......
  • 旋转木马
    #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......
  • 代码随想录 算法训练营 day9 Leetcode151 反转字符串单词 karma55 右旋转字符串 28 实
    Leetcode151反转字符串单词题目链接讲解此题方法很多很重要注重基础解法classSolution{publicStringreverseWords(Strings){char[]initialArr=s.toCharArray();//新字符数组char[]newArr=newchar[initialArr.length+1];//下......
  • 如何在Labview中添加自定义动态控件(旋转风扇控件)
     前言:    使用labview做了一个自定义的labview控件在Labview中添加自定义动态控件(旋转风扇控件)下面具体介绍步骤:1.打开Labview,新建VI项目,在前面板“文件”->“新建”->“自定义控件”2.接着,转到“新建”->“自定义控件”3.然后,右击添加一个布尔......
  • C语言王国——数组的旋转(轮转数组)三种解法
    一、题目给定一个整数数组 nums,将数组中的元素向右轮转 k 个位置,其中 k 是非负数。示例1:输入:nums=[1,2,3,4,5,6,7],k=3输出:[5,6,7,1,2,3,4]解释:向右轮转1步:[7,1,2,3,4,5,6]向右轮转2步:[6,7,1,2,3,4,5]向右轮转3步:[5,6,7,1,2,3,4]示例......
  • 一种改进盲解卷积算法在旋转机械故障诊断中的应用(MATLAB)
    滚动轴承故障形成后,故障区与其他零部件表面接触将产生循环平稳的瞬态脉冲。由于受到系统传递函数、轴转频和环境噪声的干扰,故障脉冲特征受到大幅衰减,在测得信号中表现十分微弱甚至完全不可见。盲解卷积算法通过搜索一个最优的有限脉冲响应滤波器来降低信号传输路径、轴转频和环......
  • blender4.1添加骨骼复制位置和复制旋转约束代码
    1.将骨架Skadi_SwimSuit_A_arma中的骨骼添加复制位置和复制旋转,目标选择骨架“Biped_Root”中对应的骨骼2.对应骨骼.txtBiped_Root||Skadi_SwimSuit_A_armaPelvis||Bip001-PelvisLeft_Thigh||Bip001-L-ThighLeft_Calf||Bip001-L-CalfLeft_Foot......