无码av一区二区三区无码,在线观看老湿视频福利,日韩经典三级片,成 人色 网 站 欧美大片在线观看

歡迎光臨散文網(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的評論 (共 條)

分享到微博請遵守國家法律
右玉县| 岚皋县| 祁连县| 宁明县| 平安县| 肇庆市| 张家港市| 科技| 噶尔县| 滨州市| 海伦市| 共和县| 广水市| 武川县| 金溪县| 温泉县| 璧山县| 鸡西市| 江安县| 库伦旗| 田林县| 黄山市| 开阳县| 安庆市| 铜梁县| 道孚县| 高碑店市| 迁安市| 武城县| 吉隆县| 克东县| 桂平市| 贵南县| 宜良县| 沿河| 上栗县| 蕲春县| 昌宁县| 阿合奇县| 屯留县| 略阳县|