<?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[Scripts]]></title><description><![CDATA[Share and discover scripts for LiquidBounce]]></description><link>https://forum.liquidbounce.net/category/25</link><generator>RSS for Node</generator><lastBuildDate>Fri, 14 Aug 2026 15:28:21 GMT</lastBuildDate><atom:link href="https://forum.liquidbounce.net/category/25.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 24 May 2026 09:19:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Need help making AutoSwap script]]></title><link>https://forum.liquidbounce.net/topic/8662/need-help-making-autoswap-script</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8662/need-help-making-autoswap-script</guid><pubDate>Sun, 24 May 2026 09:19:49 GMT</pubDate></item><item><title><![CDATA[Hello @LiquidBounce &#x2F; Users I&#x27;m making a windcharge pearl script that throws a charge at a pearl when thrown. I NEED HELP! I got the module to show and got things set up right I just can&#x27;t seem to get and action at all to work.]]></title><link>https://forum.liquidbounce.net/topic/8653/hello-@liquidbounce-users-i-m-making-a-windcharge-pearl-script-that-throws-a-charge-at-a-pearl-when-thrown.-i-need-help-i-got-the-module-to-show-and-got-things-set-up-right-i-just-can-t-seem-to-get-and-action-at-all-to-work.</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8653/hello-@liquidbounce-users-i-m-making-a-windcharge-pearl-script-that-throws-a-charge-at-a-pearl-when-thrown.-i-need-help-i-got-the-module-to-show-and-got-things-set-up-right-i-just-can-t-seem-to-get-and-action-at-all-to-work.</guid><pubDate>Sat, 25 Apr 2026 08:45:54 GMT</pubDate></item><item><title><![CDATA[Costum speed mod]]></title><description><![CDATA[Hey Beluga_123, has this been resolved?
]]></description><link>https://forum.liquidbounce.net/topic/8646/costum-speed-mod</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8646/costum-speed-mod</guid><dc:creator><![CDATA[Marko80]]></dc:creator><pubDate>Fri, 17 Apr 2026 11:50:35 GMT</pubDate></item><item><title><![CDATA[[SCRIPT] [LEGACY] MatrixArchiveAPIV2_b100]]></title><description><![CDATA[FaaatPotato teleport showcase on funnymc.ru; they use matrix + old ncp
https://youtu.be/pFdepfEVYNA
]]></description><link>https://forum.liquidbounce.net/topic/8633/script-legacy-matrixarchiveapiv2_b100</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8633/script-legacy-matrixarchiveapiv2_b100</guid><dc:creator><![CDATA[FaaatPotato]]></dc:creator><pubDate>Wed, 01 Apr 2026 23:41:20 GMT</pubDate></item><item><title><![CDATA[[Script] PerfectTime]]></title><link>https://forum.liquidbounce.net/topic/8630/script-perfecttime</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8630/script-perfecttime</guid><pubDate>Thu, 26 Mar 2026 18:04:08 GMT</pubDate></item><item><title><![CDATA[[Script] AutoDuel for reallyworld]]></title><link>https://forum.liquidbounce.net/topic/8629/script-autoduel-for-reallyworld</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8629/script-autoduel-for-reallyworld</guid><pubDate>Thu, 26 Mar 2026 18:01:05 GMT</pubDate></item><item><title><![CDATA[[Script] MatrixNew LongJump (ScriptAPI Port)]]></title><link>https://forum.liquidbounce.net/topic/8628/script-matrixnew-longjump-scriptapi-port</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8628/script-matrixnew-longjump-scriptapi-port</guid><pubDate>Mon, 09 Mar 2026 15:00:26 GMT</pubDate></item><item><title><![CDATA[[Script] AutoJoin for SpookyTime]]></title><link>https://forum.liquidbounce.net/topic/8627/script-autojoin-for-spookytime</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8627/script-autojoin-for-spookytime</guid><pubDate>Mon, 09 Mar 2026 10:57:14 GMT</pubDate></item><item><title><![CDATA[Sprint Reset for critical hit]]></title><description><![CDATA[By the way, I forgot to mention: the script will no longer be updated, as Liquid now includes a sprint reset function as standard.
]]></description><link>https://forum.liquidbounce.net/topic/8624/sprint-reset-for-critical-hit</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8624/sprint-reset-for-critical-hit</guid><dc:creator><![CDATA[rus109]]></dc:creator><pubDate>Sat, 28 Feb 2026 09:14:18 GMT</pubDate></item><item><title><![CDATA[Macros SUPPORT NEW WERSION]]></title><link>https://forum.liquidbounce.net/topic/8595/macros-support-new-wersion</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8595/macros-support-new-wersion</guid><pubDate>Fri, 09 Jan 2026 20:47:59 GMT</pubDate></item><item><title><![CDATA[A TCP-based interface script]]></title><description><![CDATA[My plugin doesn't seem to be loadable by the latest version of LiquidBounce (v0.35.3). So far, the tested working version is v0.35.0.
]]></description><link>https://forum.liquidbounce.net/topic/8591/a-tcp-based-interface-script</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8591/a-tcp-based-interface-script</guid><dc:creator><![CDATA[Dylanvip2024]]></dc:creator><pubDate>Sun, 04 Jan 2026 13:39:55 GMT</pubDate></item><item><title><![CDATA[Help scripts]]></title><link>https://forum.liquidbounce.net/topic/8583/help-scripts</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8583/help-scripts</guid><pubDate>Sat, 20 Dec 2025 10:31:22 GMT</pubDate></item><item><title><![CDATA[help]]></title><link>https://forum.liquidbounce.net/topic/8580/help</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8580/help</guid><pubDate>Sun, 07 Dec 2025 15:27:38 GMT</pubDate></item><item><title><![CDATA[[Kotlin] Matrix new longjump]]></title><description><![CDATA[What settings may bypass MLegacy?
]]></description><link>https://forum.liquidbounce.net/topic/8568/kotlin-matrix-new-longjump</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8568/kotlin-matrix-new-longjump</guid><dc:creator><![CDATA[c00lkidd228]]></dc:creator><pubDate>Fri, 31 Oct 2025 06:38:42 GMT</pubDate></item><item><title><![CDATA[StunSlam Script]]></title><description><![CDATA[this will be my next project, but i believe auto weapon has an option that allows this to a decent degree with mace spam+ auto shield break.
]]></description><link>https://forum.liquidbounce.net/topic/8567/stunslam-script</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8567/stunslam-script</guid><dc:creator><![CDATA[SmokinGreen]]></dc:creator><pubDate>Tue, 28 Oct 2025 13:16:40 GMT</pubDate></item><item><title><![CDATA[Server List Explorer Installer]]></title><description><![CDATA[this is a bump message
]]></description><link>https://forum.liquidbounce.net/topic/8558/server-list-explorer-installer</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8558/server-list-explorer-installer</guid><dc:creator><![CDATA[Spoiler]]></dc:creator><pubDate>Sat, 27 Sep 2025 16:21:41 GMT</pubDate></item><item><title><![CDATA[Help with script]]></title><description><![CDATA[I'm in the same spot with 2 projects of mine rn
]]></description><link>https://forum.liquidbounce.net/topic/8545/help-with-script</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8545/help-with-script</guid><dc:creator><![CDATA[SmokinGreen]]></dc:creator><pubDate>Tue, 12 Aug 2025 15:25:17 GMT</pubDate></item><item><title><![CDATA[Help with script]]></title><link>https://forum.liquidbounce.net/topic/8544/help-with-script</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8544/help-with-script</guid><pubDate>Tue, 12 Aug 2025 14:41:54 GMT</pubDate></item><item><title><![CDATA[[Guide] Working with Baritone API]]></title><description><![CDATA[It's definitely doable, but you need to use the unoptimized jar to directly call this. Here is the script in ts, but you may need to adapt the imports to Java.type in js. And also for the visualization manager it's not yet available outside of my project. will release once the api is well designed and performance becomes decent and after a proper name is found for the npm package.
import { BaritoneAPI } from "jvm-types/baritone/api/BaritoneAPI"
import { GoalXZ } from "jvm-types/baritone/api/pathing/goals/GoalXZ"
import { CalculationContext } from "jvm-types/baritone/pathing/movement/CalculationContext"
import { Favoring } from "jvm-types/baritone/utils/pathing/Favoring"
import { BetterBlockPos } from "jvm-types/baritone/api/utils/BetterBlockPos"
import { IPath } from "jvm-types/baritone/api/pathing/calc/IPath"
import { VisualizationManager } from "lbng-utils-typed/dist/visualization-utils"
import { PathCalculationResult$Type } from "jvm-types/baritone/api/utils/PathCalculationResult$Type"

// note: this import is not from baritone-api jar
// it is only presented in the baritone-unoptimized jar
// as the `AStarPathFinder` class is possibly obfuscated in the baritone-standalone jar
// so you will have to install the baritone-unoptimized jar to use this import
import { AStarPathFinder } from "jvm-types/baritone/pathing/calc/AStarPathFinder"


const script = registerScript.apply({
    name: "astar-pathfinder-example",
    version: "1.0.0",
    authors: ["commandblock2"]
});

script.registerModule({
    name: "baritone-api-example",
    description: "Baritone example module",
    category: "Client",

}, (mod) =&gt; {
    mod.on("enable", () =&gt; {
        BaritoneAPI.getSettings().allowSprint.value = true;
        BaritoneAPI.getSettings().primaryTimeoutMS.value = Primitives.long(2000);
        const baritone = BaritoneAPI.getProvider().getPrimaryBaritone();
        baritone.getCustomGoalProcess().setGoalAndPath(new GoalXZ(100, 100))
    })
})

script.registerModule({
    name: "astar-pathfinder-example",
    description: "Direct AStarPathFinder construction example",
    category: "Client",
    settings: {
        goalX: Setting.float({
            name: "Goal X",
            default: 100,
            range: [-10000, 10000] // Assuming a reasonable range
        }),
        goalZ: Setting.float({
            name: "Goal Z",
            default: 100,
            range: [-10000, 10000] // Assuming a reasonable range
        }),
        recalculateInterval: Setting.int({
            name: "Recalculate Interval (ticks)",
            default: 20,
            range: [1, 200]
        })
    }
}, (mod) =&gt; {

    const viz = new VisualizationManager(mod);

    let previousPath: IPath | null = null;

    let lastRecalculateTick = 0;

    const calculatePath = () =&gt; {
        const baritone = BaritoneAPI.getProvider().getPrimaryBaritone();

        // Get current player position
        const playerPos = baritone.getPlayerContext().playerFeet();
        const start = new BetterBlockPos(playerPos.getX(), playerPos.getY(), playerPos.getZ());

        // Create calculation context for threaded use
        const context = new CalculationContext(baritone, true);

        // Create favoring (empty favoring for no preferences)
        const favoring = new Favoring(baritone.getPlayerContext(), previousPath as unknown as IPath, context);

        // Create goal using settings
        const goal = new GoalXZ(mod.settings.goalX.get() as unknown as number, mod.settings.goalZ.get() as unknown as number);

        // Construct AStarPathFinder directly
        const pathfinder = new AStarPathFinder(
            start,           // realStart
            start.getX(),    // startX
            start.getY(),    // startY
            start.getZ(),    // startZ
            goal,            // goal
            favoring,        // favoring
            context          // context
        );

        // @ts-expect-error
        UnsafeThread.run(() =&gt; {
            const result = pathfinder.calculate(Primitives.long(2000), Primitives.long(5000));

            // Handle result
            if (result.getType() != PathCalculationResult$Type.CANCELLATION) {
                const path = result.getPath().get();
                console.log("Path found! Length: " + path.length());
                mc.execute(() =&gt; {
                    viz.addVisualization({
                        lineData: {
                            positions: path.positions().map((pos) =&gt; new Vec3d(pos.x + .5, pos.y, pos.z + .5)),

                        },
                        durationTicks: 20 * 60,
                    });
                    previousPath = path;
                });
                // Use the path as needed - you now have direct access without execution
            } else {
                console.log("Path calculation failed: " + result.getType().toString());
            }
        });
    };

    mod.on("enable", () =&gt; {
        viz.clearAllVisualizations();
        lastRecalculateTick = 0; // Reset on enable
        calculatePath(); // Initial calculation
    });

    mod.on("gametick", () =&gt; {
        if (mc.player &amp;&amp; mc.world &amp;&amp; (mc.player.age - lastRecalculateTick) &gt;= (mod.settings.recalculateInterval.get() as unknown as number)) {
            calculatePath();
            lastRecalculateTick = mc.player.age;
        }
    });
});

export { }

[image: 1754149301736-vlcsnap-2025-08-02-23h41m20s672.png]
]]></description><link>https://forum.liquidbounce.net/topic/8531/guide-working-with-baritone-api</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8531/guide-working-with-baritone-api</guid><dc:creator><![CDATA[commandblock2]]></dc:creator><pubDate>Thu, 31 Jul 2025 17:15:05 GMT</pubDate></item><item><title><![CDATA[Better High Jump [Multiple Jump] Script]]></title><link>https://forum.liquidbounce.net/topic/8493/better-high-jump-multiple-jump-script</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8493/better-high-jump-multiple-jump-script</guid><pubDate>Sun, 25 May 2025 12:20:22 GMT</pubDate></item><item><title><![CDATA[[Script] BetterAutoLeave]]></title><link>https://forum.liquidbounce.net/topic/8492/script-betterautoleave</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8492/script-betterautoleave</guid><pubDate>Sat, 24 May 2025 10:41:23 GMT</pubDate></item><item><title><![CDATA[Saturn-X collision speed fix]]></title><link>https://forum.liquidbounce.net/topic/8482/saturn-x-collision-speed-fix</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8482/saturn-x-collision-speed-fix</guid><pubDate>Wed, 07 May 2025 17:15:28 GMT</pubDate></item></channel></rss>