<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Kotlin] Matrix new longjump]]></title><description><![CDATA[<p dir="auto">Bypass matrix today (Matrix7145FlagLongJump outdated)</p>
<pre><code>package net.ccbluex.liquidbounce.features.module.modules.movement.longjump.modes

import net.ccbluex.liquidbounce.config.types.Choice
import net.ccbluex.liquidbounce.config.types.ChoiceConfigurable
import net.ccbluex.liquidbounce.config.types.NamedChoice
import net.ccbluex.liquidbounce.event.events.PacketEvent
import net.ccbluex.liquidbounce.event.handler
import net.ccbluex.liquidbounce.event.tickHandler
import net.ccbluex.liquidbounce.features.module.modules.movement.longjump.ModuleLongJump
import net.ccbluex.liquidbounce.utils.entity.withStrafe
import net.ccbluex.liquidbounce.utils.math.copy
import net.minecraft.network.packet.c2s.play.PlayerMoveC2SPacket
import net.minecraft.network.packet.s2c.play.PlayerPositionLookS2CPacket

internal object MatrixNewLongJump : Choice("MatrixNew") {

    override val parent: ChoiceConfigurable&lt;*&gt;
        get() = ModuleLongJump.mode

    private enum class MotionMode(override val choiceName: String) : NamedChoice {
        Stable("Stable"),
        Last("Last")
    }

    private enum class BypassMethod(override val choiceName: String) : NamedChoice {
        Fall("Fall"),
        NoGround("NoGround")
    }

    private val motionMode by enumChoice("MotionMode", MotionMode.Stable)
    private val bypassMethod by enumChoice("BypassMethod", BypassMethod.Fall)
    private val boostSpeed by float("MatrixNew-BoostSpeed", 2.1f, -3.0f..8.0f)
    private val motionY by float("MotionY", 0.42f, 0.0f..5.0f)

    private var savedX = 0.0
    private var savedY = 0.0
    private var savedZ = 0.0

    private var receivedFlag = false
    private var canBoost = false
    private var boosted = false
    private var touchGround = false

    override fun enable() {
        receivedFlag = false
        canBoost = false
        boosted = false
        touchGround = false

        if (bypassMethod == BypassMethod.NoGround) {
            if (player.isOnGround) player.jump()
            touchGround = true
        }
    }

    override fun disable() {
        receivedFlag = false
        canBoost = false
        boosted = false
        touchGround = false
    }

    @Suppress("unused")
    private val packetRecv = handler&lt;PacketEvent&gt; {
        val packet = it.packet
        if (packet is PlayerPositionLookS2CPacket) {
            receivedFlag = true
            if (motionMode == MotionMode.Last) {
                canBoost = false
                val vel = player.velocity
                savedX = vel.x
                savedY = vel.y
                savedZ = vel.z
            }
        }
    }

    @Suppress("unused")
    private val packetSend = handler&lt;PacketEvent&gt; {
        val packet = it.packet
        if (packet is PlayerMoveC2SPacket) {
            if (motionMode == MotionMode.Last &amp;&amp; receivedFlag) {
                player.velocity = player.velocity.copy(x = savedX, y = savedY, z = savedZ)

                canBoost = false
                receivedFlag = false
            }
        }
    }

    @Suppress("unused")
    private val tick = tickHandler {
        if (!player.isOnGround &amp;&amp; touchGround) touchGround = false

        if (player.isOnGround &amp;&amp; !touchGround) {
            player.jump()
            boosted = false
            if (bypassMethod == BypassMethod.NoGround &amp;&amp; !boosted) {
                canBoost = true
            }
        }

        if (player.fallDistance &gt;= 0.25f &amp;&amp; !boosted &amp;&amp; bypassMethod == BypassMethod.Fall) {
            canBoost = true
        }

        if (canBoost) {
            val yaw = player.yaw
            player.velocity = player.velocity
                .withStrafe(speed = boostSpeed.toDouble(), yaw = yaw, input = null)
                .copy(y = motionY.toDouble())
            boosted = true
        }

        if (receivedFlag &amp;&amp; boosted) {
            canBoost = false
            receivedFlag = false
        }
    }
}
</code></pre>
<p dir="auto">ported from - <a href="https://yougame.biz/threads/360241/" target="_blank" rel="noopener noreferrer nofollow ugc">https://yougame.biz/threads/360241/</a></p>
]]></description><link>https://forum.liquidbounce.net/topic/8568/kotlin-matrix-new-longjump</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 07:51:15 GMT</lastBuildDate><atom:link href="https://forum.liquidbounce.net/topic/8568.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 31 Oct 2025 06:38:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Kotlin] Matrix new longjump on Sun, 25 Jan 2026 10:24:41 GMT]]></title><description><![CDATA[<p dir="auto">What settings may bypass MLegacy?</p>
]]></description><link>https://forum.liquidbounce.net/post/40423</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/40423</guid><dc:creator><![CDATA[c00lkidd228]]></dc:creator><pubDate>Sun, 25 Jan 2026 10:24:41 GMT</pubDate></item><item><title><![CDATA[Reply to [Kotlin] Matrix new longjump on Fri, 09 Jan 2026 15:35:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/konfeta6664" aria-label="Profile: konfeta6664">@<bdi>konfeta6664</bdi></a> so recompile liquidbounce with it?</p>
]]></description><link>https://forum.liquidbounce.net/post/40389</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/40389</guid><dc:creator><![CDATA[ThatMadCat]]></dc:creator><pubDate>Fri, 09 Jan 2026 15:35:38 GMT</pubDate></item><item><title><![CDATA[Reply to [Kotlin] Matrix new longjump on Fri, 09 Jan 2026 13:51:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thatmadcat" aria-label="Profile: ThatMadCat">@<bdi>ThatMadCat</bdi></a><br />
if you are asking about how to insert this into liquidbounce<br />
1 Create new .kt mode file in the longjump modes folder<br />
2 Fix the imports for the version what you are using<br />
3 Register the new mode in longjumpmodule.kt</p>
]]></description><link>https://forum.liquidbounce.net/post/40388</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/40388</guid><dc:creator><![CDATA[konfeta6664]]></dc:creator><pubDate>Fri, 09 Jan 2026 13:51:48 GMT</pubDate></item><item><title><![CDATA[Reply to [Kotlin] Matrix new longjump on Thu, 08 Jan 2026 13:10:05 GMT]]></title><description><![CDATA[<p dir="auto">how exactly it is used? My only tought is recompiling LiquidBounce with this file</p>
]]></description><link>https://forum.liquidbounce.net/post/40383</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/40383</guid><dc:creator><![CDATA[ThatMadCat]]></dc:creator><pubDate>Thu, 08 Jan 2026 13:10:05 GMT</pubDate></item><item><title><![CDATA[Reply to [Kotlin] Matrix new longjump on Thu, 08 Jan 2026 10:00:41 GMT]]></title><description><![CDATA[<p dir="auto">how to use that? am i suposed to recompile liquidbounce with that?</p>
]]></description><link>https://forum.liquidbounce.net/post/40382</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/40382</guid><dc:creator><![CDATA[ThatMadCat]]></dc:creator><pubDate>Thu, 08 Jan 2026 10:00:41 GMT</pubDate></item></channel></rss>