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

歡迎光臨散文網 會員登陸 & 注冊

HypixelBunny.kt

2023-08-23 12:41 作者:Dimples1337_  | 我要投稿
  • /*
    * LiquidBounce Hacked Client
    * A free open source mixin-based injection hacked client for Minecraft using Minecraft Forge.
    * https://github.com/CCBlueX/LiquidBounce/
    */
    package net.ccbluex.liquidbounce.features.module.modules.movement.speeds.other


    import net.ccbluex.liquidbounce.event.MoveEvent
    import net.ccbluex.liquidbounce.features.module.modules.movement.speeds.SpeedMode
    import net.ccbluex.liquidbounce.utils.MovementUtil
    import net.ccbluex.liquidbounce.utils.MovementUtils
    import net.minecraft.potion.Potion
    import kotlin.math.cos
    import kotlin.math.sin
    import kotlin.math.sqrt
    /**
    *
    * Skid By DeadStar
    * @Date on 2023/8/22
    *
    */
    class HypixelBunny : SpeedMode("HypixelBunny") {
    ? ?private fun getSpeedPotion(): Int {
    ? ? ? ?return if (mc.thePlayer.isPotionActive(Potion.moveSpeed)) mc.thePlayer.getActivePotionEffect(Potion.moveSpeed).amplifier + 1 else 0
    ? ?}

    ? ?fun getMoveYaw(): Float {
    ? ? ? ?var moveYaw = mc.thePlayer.rotationYaw
    ? ? ? ?if (mc.thePlayer.moveForward != 0f && mc.thePlayer.moveStrafing == 0f) {
    ? ? ? ? ? ?moveYaw += (if (mc.thePlayer.moveForward > 0) 0 else 180).toFloat()
    ? ? ? ?} else if (mc.thePlayer.moveForward != 0f && mc.thePlayer.moveStrafing != 0f) {
    ? ? ? ? ? ?if (mc.thePlayer.moveForward > 0) moveYaw += (if (mc.thePlayer.moveStrafing > 0) -45 else 45).toFloat() else moveYaw -= (if (mc.thePlayer.moveStrafing > 0) -45 else 45).toFloat()
    ? ? ? ? ? ?moveYaw += (if (mc.thePlayer.moveForward > 0) 0 else 180).toFloat()
    ? ? ? ?} else if (mc.thePlayer.moveStrafing != 0f && mc.thePlayer.moveForward == 0f) {
    ? ? ? ? ? ?moveYaw += (if (mc.thePlayer.moveStrafing > 0) -90 else 90).toFloat()
    ? ? ? ?}
    ? ? ? ?return moveYaw
    ? ?}

    ? ? ? private fun setMoveSpeed() {
    ? ? ? ?var yaw = getMoveYaw();
    ? ? ? ? ? var speed = MovementUtils.getSpeed()
    ? ? ? ?if (mc.thePlayer.moveForward != 0.toFloat() || mc.thePlayer.moveStrafing != 0.toFloat()) {
    ? ? ? ? ? ?mc.thePlayer.motionX = -sin(Math.toRadians(yaw.toDouble())) * speed;
    ? ? ? ? ? ?mc.thePlayer.motionZ = cos(Math.toRadians(yaw.toDouble())) * speed;
    ? ? ? ?}
    ? ?}

    ? ?override fun onMotion() {
    ? ?}

    ? ?override fun onDisable() {
    ? ?}

    ? ?override fun onMove(event: MoveEvent?) {}
    ? ?override fun onUpdate() {
    ? ? ? ?if (mc.thePlayer.onGround && (mc.thePlayer.moveForward != 0.toFloat() || mc.thePlayer.moveStrafing != 0.toFloat())) {
    ? ? ? ? ? ?mc.thePlayer.jump();

    ? ? ? ? ? ?setMoveSpeed()
    ? ? ? ?}
    ? ?}

    }



HypixelBunny.kt的評論 (共 條)

分享到微博請遵守國家法律
兰州市| 东光县| 卢龙县| 昌邑市| 红安县| 托克逊县| 巴林右旗| 凉城县| 定结县| 澜沧| 丰镇市| 德令哈市| 镶黄旗| 璧山县| 林州市| 喀什市| 清流县| 东方市| 饶平县| 琼海市| 会昌县| 永州市| 察隅县| 贵州省| 遵义县| 定州市| 临邑县| 比如县| 伊宁县| 乐山市| 钦州市| 汤阴县| 古交市| 温州市| 启东市| 乳山市| 祁阳县| 吉安县| 灵武市| 新乡县| 肥东县|