最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

AutoSkyWars.kt

2023-08-15 11:43 作者:菜級玩家  | 我要投稿

package net.ccbluex.liquidbounce.features.module.modules.hyt

//Thx LiquidBounce

//只在花雨庭空島戰(zhàn)爭工作


import net.ccbluex.liquidbounce.event.*

import net.ccbluex.liquidbounce.features.module.Module

import net.ccbluex.liquidbounce.features.module.ModuleCategory

import net.ccbluex.liquidbounce.features.module.ModuleInfo

import net.ccbluex.liquidbounce.utils.ClientUtils

import net.ccbluex.liquidbounce.utils.MovementUtils

import net.ccbluex.liquidbounce.value.FloatValue

import net.ccbluex.liquidbounce.value.IntegerValue

import net.ccbluex.liquidbounce.value.ListValue



@ModuleInfo(name = "AutoSkyWars", category = ModuleCategory.HYT, description = "space.bilibili.com/500398541";)

class AutoSkyWars : Module() {


? ? private val modeValue = ListValue("mode", arrayOf(

? ? ? ? "firework",

? ? ? ? "fly"

? ? ), "firework")

? ? private val X = IntegerValue("posX",0,-100,100)

? ? private val Y = IntegerValue("posY",10,2,50)

? ? private val Z = IntegerValue("posZ",0,-100,100)

? ? private val vanillaSpeedValue = FloatValue("FlySpeed", 4f, 0f, 10f)

? ? private val Times = IntegerValue("TpTicks",10,0,100)

? ? private var TPtimes = Times.get()

? ? @EventTarget


? ? fun onUpdate(event: UpdateEvent) {

? ? ? ? val vanillaSpeed = vanillaSpeedValue.get()

? ? ? ? val thePlayer = mc.thePlayer!!

? ? ? ? ? ? if (thePlayer.capabilities.isFlying) {

? ? ? ? ? ? ? ? when (modeValue.get().toLowerCase()) {

? ? ? ? ? ? ? ? ? ? "firework" -> {//像煙花一樣起飛

? ? ? ? ? ? ? ? ? ? ? ? ? ? ClientUtils.displayChatMessage("[修改空島出生點]火箭發(fā)射器ヾ(??▽?)ノ")

? ? ? ? ? ? ? ? ? ? ? ? ? ? thePlayer.setPositionAndRotation(

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? thePlayer.posX + X.get() / 2,

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? thePlayer.posY + Y.get() / 2,

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? thePlayer.posZ + Z.get() / 2,

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? thePlayer.rotationYaw,

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? thePlayer.rotationPitch

? ? ? ? ? ? ? ? ? ? ? ? ? ? )

? ? ? ? ? ? ? ? ? ? }

? ? ? ? ? ? ? ? ? ? "fly" -> {//飛行

? ? ? ? ? ? ? ? ? ? ? ? if (TPtimes == 0) {

? ? ? ? ? ? ? ? ? ? ? ? ? ? thePlayer.motionY = 0.0

? ? ? ? ? ? ? ? ? ? ? ? ? ? thePlayer.motionX = 0.0

? ? ? ? ? ? ? ? ? ? ? ? ? ? thePlayer.motionZ = 0.0

? ? ? ? ? ? ? ? ? ? ? ? ? ? if (mc.gameSettings.keyBindJump.isKeyDown) thePlayer.motionY += vanillaSpeed

? ? ? ? ? ? ? ? ? ? ? ? ? ? if (mc.gameSettings.keyBindSneak.isKeyDown) thePlayer.motionY -= vanillaSpeed

? ? ? ? ? ? ? ? ? ? ? ? ? ? MovementUtils.strafe(vanillaSpeed)

? ? ? ? ? ? ? ? ? ? ? ? }else{

? ? ? ? ? ? ? ? ? ? ? ? ? ? ClientUtils.displayChatMessage("[修改空島出生點]蕪湖!起飛??!")

? ? ? ? ? ? ? ? ? ? ? ? ? ? thePlayer.setPositionAndRotation(

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? thePlayer.posX + X.get() / 2,

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? thePlayer.posY + Y.get() / 2,

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? thePlayer.posZ + Z.get() / 2,

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? thePlayer.rotationYaw,

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? thePlayer.rotationPitch

? ? ? ? ? ? ? ? ? ? ? ? ? ? )

? ? ? ? ? ? ? ? ? ? ? ? ? ? TPtimes -= 1

? ? ? ? ? ? ? ? ? ? ? ? }

? ? ? ? ? ? ? ? ? ? }

? ? ? ? ? ? ? ? }

? ? ? ? ? ? }

? ? ? ? ? ? else{

? ? ? ? ? ? ? ? ? ? val thePlayer = mc.thePlayer ?: return

? ? ? ? ? ? ? ? ? ? thePlayer.capabilities.isFlying = false

? ? ? ? ? ? ? ? ? ? mc.timer.timerSpeed = 1f

? ? ? ? ? ? ? ? ? ? thePlayer.speedInAir = 0.02f

? ? ? ? ? ? ? ? ? ? TPtimes = Times.get()

? ? ? ? ? ? }

? ? }

? ? override fun handleEvents() = true

? ? override val tag: String

? ? ? ? get() = modeValue.get()

}

//注釋

//注釋

//注釋

AutoSkyWars.kt的評論 (共 條)

分享到微博請遵守國家法律
高州市| 晋州市| 巴楚县| 岳阳市| 武夷山市| 长春市| 台安县| 衡阳市| 巢湖市| 阳高县| 乡城县| 婺源县| 屯昌县| 永仁县| 卢氏县| 金平| 桐柏县| 丹东市| 定陶县| 张家川| 雅江县| 黑山县| 林口县| 绥阳县| 正蓝旗| 合山市| 海兴县| 冷水江市| 抚宁县| 漯河市| 屏南县| 武功县| 汪清县| 华阴市| 芦山县| 黔南| 甘南县| 蛟河市| 长寿区| 四子王旗| 巴里|