国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

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

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的評論 (共 條)

分享到微博請遵守國家法律
林芝县| 盘山县| 耒阳市| 安图县| 海淀区| 壶关县| 江城| 清河县| 林周县| 黄大仙区| 屯昌县| 西乌珠穆沁旗| 清水县| 平凉市| 新干县| 津市市| 吴江市| 抚宁县| 建湖县| 阿尔山市| 尼木县| 木里| 南皮县| 新建县| 长沙县| 五河县| 克山县| 红原县| 达日县| 乌兰浩特市| 如皋市| 宁阳县| 东兰县| 澄迈县| 扎鲁特旗| 双城市| 泰宁县| 灌阳县| 建始县| 仙游县| 祁门县|