<?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[ScriptAPI]]></title><description><![CDATA[A place to ask for help on writing scripts]]></description><link>https://forum.liquidbounce.net/category/14</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Mar 2026 18:03:25 GMT</lastBuildDate><atom:link href="https://forum.liquidbounce.net/category/14.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Mar 2026 10:41:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Script not loading!!!!!!!!!!!!!!!!!]]></title><description><![CDATA[Something like this:
"const script = registerScript({
name: "example",
version: "1.0.0",
authors: ["author"]
})"
Or
"script.registerModule({
name: "example",
category: "Combat",
description: "Empty"
}"
I'm not sure exactly what's missing, but I suspect the former.
]]></description><link>https://forum.liquidbounce.net/topic/8623/script-not-loading</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8623/script-not-loading</guid><dc:creator><![CDATA[rus109]]></dc:creator><pubDate>Tue, 03 Mar 2026 10:41:44 GMT</pubDate></item><item><title><![CDATA[how to make a script that presses movement keys on nextgen]]></title><description><![CDATA[I think this is what you need:
KeepDistance.zip - download
src.js
]]></description><link>https://forum.liquidbounce.net/topic/8622/how-to-make-a-script-that-presses-movement-keys-on-nextgen</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8622/how-to-make-a-script-that-presses-movement-keys-on-nextgen</guid><dc:creator><![CDATA[konfeta6664]]></dc:creator><pubDate>Mon, 23 Feb 2026 00:24:16 GMT</pubDate></item><item><title><![CDATA[How to render &quot;Fake Blocks&quot; or 3D Boxes for an Ore Simulator script]]></title><description><![CDATA[<p dir="auto">Hi, I'm trying to develop an Ore Simulator script for LiquidBounce NextGen. The idea is to input a world seed and render minerals (Diamond, Ancient Debris, etc.) at their predicted coordinates.</p>
<p dir="auto">I have the math for the seed simulation ready, but I am completely stuck on the rendering part.</p>
]]></description><link>https://forum.liquidbounce.net/topic/8618/how-to-render-fake-blocks-or-3d-boxes-for-an-ore-simulator-script</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8618/how-to-render-fake-blocks-or-3d-boxes-for-an-ore-simulator-script</guid><dc:creator><![CDATA[Wuanytoo]]></dc:creator><pubDate>Sun, 15 Feb 2026 23:23:08 GMT</pubDate></item><item><title><![CDATA[For the love of god please fix Script API mappings.]]></title><description><![CDATA[@kaduvert This topic is about the Script API, not your opinion on CEF. It's amusing to me that, out of everything, you say that the Script API is something most users probably want. No, they don't want it. They don't want a 50+ MB JAR file just to have the possibility of running a JS script. Most users don't know how to write their own scripts, and as previously explained, the setup process is hideous and not maintainable.
The browser backend (e.g., CEF) and the deep learning engine are both critical to the usability of LiquidBounce. Without a GUI, you cannot perform any actions. Without deep learning, you cannot use any of the AI-powered or upcoming features.
Writing everything from scratch is not an effective development strategy. Real bloat would be writing everything from scratch yourself. Imagine how much more code would be required to write the GUI exactly as it is and how many months of work that would entail, only to end up with something imperfect and unable to be customized to your liking. The same applies to the rotation system. While we managed to develop and train a model that looks realistic to the human eye within a matter of weeks. Other client developers spend months perfecting their rotation system, only to be detected as soon as it becomes public, as anti-cheats use models trained to detect this, while making yet another rotation pattern is a matter of half an hour with LiquidBounce.
]]></description><link>https://forum.liquidbounce.net/topic/8597/for-the-love-of-god-please-fix-script-api-mappings.</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8597/for-the-love-of-god-please-fix-script-api-mappings.</guid><dc:creator><![CDATA[kawaiinekololis]]></dc:creator><pubDate>Tue, 20 Jan 2026 05:28:43 GMT</pubDate></item><item><title><![CDATA[Need a script for auto shield on liquid bounce nextgen]]></title><description><![CDATA[<p dir="auto">I need a script on auto shield on liquid bounce nextgen  so that when killaura starts hitting the enemy, the shield is automatically clamped</p>
]]></description><link>https://forum.liquidbounce.net/topic/8566/need-a-script-for-auto-shield-on-liquid-bounce-nextgen</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8566/need-a-script-for-auto-shield-on-liquid-bounce-nextgen</guid><dc:creator><![CDATA[Flox]]></dc:creator><pubDate>Mon, 27 Oct 2025 13:13:33 GMT</pubDate></item><item><title><![CDATA[Need a script for packet shield breaker on liquid bounce]]></title><description><![CDATA[<p dir="auto">I need a script for packet shield breaker on liquid bounce so that when the enemy uses the shield, my character breaks his shield with his hand and not with an ax when moving the slot</p>
]]></description><link>https://forum.liquidbounce.net/topic/8565/need-a-script-for-packet-shield-breaker-on-liquid-bounce</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8565/need-a-script-for-packet-shield-breaker-on-liquid-bounce</guid><dc:creator><![CDATA[Flox]]></dc:creator><pubDate>Mon, 27 Oct 2025 13:08:00 GMT</pubDate></item><item><title><![CDATA[Need a script for anti shield breaker on liquid bounce nextgen]]></title><description><![CDATA[<p dir="auto">I need a script on anti shield breaker on liquid bounce nextgen so that the enemy could not break my shield</p>
]]></description><link>https://forum.liquidbounce.net/topic/8564/need-a-script-for-anti-shield-breaker-on-liquid-bounce-nextgen</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8564/need-a-script-for-anti-shield-breaker-on-liquid-bounce-nextgen</guid><dc:creator><![CDATA[Flox]]></dc:creator><pubDate>Mon, 27 Oct 2025 13:05:07 GMT</pubDate></item><item><title><![CDATA[Auto shield on Liquidbounce Nextgen]]></title><description><![CDATA[Please only post one time.
]]></description><link>https://forum.liquidbounce.net/topic/8547/auto-shield-on-liquidbounce-nextgen</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8547/auto-shield-on-liquidbounce-nextgen</guid><dc:creator><![CDATA[kawaiinekololis]]></dc:creator><pubDate>Thu, 14 Aug 2025 21:02:51 GMT</pubDate></item><item><title><![CDATA[Help with setting visibility]]></title><description><![CDATA[By reading your post again I think I need to use ChoiceConfigurable. And I think that's definitely possible.
]]></description><link>https://forum.liquidbounce.net/topic/8445/help-with-setting-visibility</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8445/help-with-setting-visibility</guid><dc:creator><![CDATA[commandblock2]]></dc:creator><pubDate>Tue, 18 Mar 2025 05:14:14 GMT</pubDate></item><item><title><![CDATA[I need help in JavaScript of liquidbounce b100]]></title><description><![CDATA[@kawaiinekololis said in I need help in JavaScript of liquidbounce b100:

You can download the newest version of LiquidBounce here: https://liquidbounce.net/download/X Trench Run
LiquidBounce Legacy b100 is outdated and not supported.

Thank you so much
]]></description><link>https://forum.liquidbounce.net/topic/8439/i-need-help-in-javascript-of-liquidbounce-b100</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8439/i-need-help-in-javascript-of-liquidbounce-b100</guid><dc:creator><![CDATA[AmeliaBetz]]></dc:creator><pubDate>Thu, 13 Mar 2025 09:03:21 GMT</pubDate></item><item><title><![CDATA[Custom Script Help]]></title><description><![CDATA[You are welcome and I am willing to accept further help requests, would appreciate a example error script or errors in the logs. 
]]></description><link>https://forum.liquidbounce.net/topic/8399/custom-script-help</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8399/custom-script-help</guid><dc:creator><![CDATA[commandblock2]]></dc:creator><pubDate>Mon, 20 Jan 2025 19:40:56 GMT</pubDate></item><item><title><![CDATA[Methods with the same name but different arguments possibly causing issues]]></title><description><![CDATA[Thanks for the reply. Honestly, good point about making an issue on GitHub, I dunno how that hasn't crossed my mind lol. Here's a link to my issue https://github.com/CCBlueX/LiquidBounce/issues/4964.








ayaxperson created this issue  in CCBlueX/LiquidBounce


open
[BUG] ScriptAPI mapping issue with method overloading
#4964








]]></description><link>https://forum.liquidbounce.net/topic/8371/methods-with-the-same-name-but-different-arguments-possibly-causing-issues</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8371/methods-with-the-same-name-but-different-arguments-possibly-causing-issues</guid><dc:creator><![CDATA[Ajax]]></dc:creator><pubDate>Thu, 12 Dec 2024 22:59:27 GMT</pubDate></item><item><title><![CDATA[TargetControll]]></title><description><![CDATA[<p dir="auto">///api_version=2<br />
const script = registerScript({<br />
name: "VKKILLAURA",<br />
authors: [":)"],<br />
version: "1.0"<br />
}).import("Core.lib");</p>
<p dir="auto">// Indstillinger for KillAura<br />
const rangeValue = value.createFloat("Range", 4.0, 3.0, 6.0);<br />
const cpsValue = value.createInteger("CPS", 10, 1, 20);<br />
const rotationSpeedValue = value.createList("RotationSpeed", ["Slow", "Medium", "Fast"], "Medium");</p>
<p dir="auto">// Mål liste<br />
const targetList = [];<br />
let isEnabled = false;</p>
<p dir="auto">// Opdatering af mållisten<br />
function updateTargetList(name, action) {<br />
if (action === "add" &amp;&amp; !targetList.includes(name)) {<br />
targetList.push(name);<br />
Client.displayChatMessage(<code>§aAdded ${name} to target list.</code>);<br />
} else if (action === "remove") {<br />
const index = targetList.indexOf(name);<br />
if (index &gt; -1) {<br />
targetList.splice(index, 1);<br />
Client.displayChatMessage(<code>§cRemoved ${name} from target list.</code>);<br />
}<br />
}<br />
}</p>
<p dir="auto">// Registrer kommandoer<br />
script.registerCommand({<br />
name: ".vk",<br />
description: "Manage KillAura target list.",<br />
hub: true,<br />
subcommands: [<br />
{<br />
name: "add",<br />
parameters: [{ name: "name", required: true }],<br />
onExecute(name) {<br />
updateTargetList(name, "add");<br />
}<br />
},<br />
{<br />
name: "remove",<br />
parameters: [{ name: "name", required: true }],<br />
onExecute(name) {<br />
updateTargetList(name, "remove");<br />
}<br />
},<br />
{<br />
name: "list",<br />
onExecute() {<br />
if (targetList.length === 0) {<br />
Client.displayChatMessage("§eTarget list is empty.");<br />
} else {<br />
Client.displayChatMessage("§eTargets: " + targetList.join(", "));<br />
}<br />
}<br />
},<br />
{<br />
name: "toggle",<br />
onExecute() {<br />
isEnabled = !isEnabled;<br />
Client.displayChatMessage(<code>§eKillAura is now ${isEnabled ? "enabled" : "disabled"}.</code>);<br />
}<br />
}<br />
]<br />
});</p>
<p dir="auto">// Hent mål inden for rækkevidde<br />
function getTargetsInRange(range) {<br />
const targets = [];<br />
for (const entity of mc.theWorld.loadedEntityList) {<br />
if (entity !== mc.thePlayer &amp;&amp; entity.getDistanceToEntity(mc.thePlayer) &lt;= range) {<br />
targets.push(entity);<br />
}<br />
}<br />
return targets;<br />
}</p>
<p dir="auto">// Angrebsmål<br />
function attackTarget(target) {<br />
if (targetList.includes(target.getName())) {<br />
mc.thePlayer.swingItem();<br />
mc.playerController.attackEntity(mc.thePlayer, target);<br />
}<br />
}</p>
<p dir="auto">// Opdatering af angreb<br />
script.on("update", () =&gt; {<br />
if (!isEnabled) return;</p>
<pre><code>const targets = getTargetsInRange(rangeValue.get());
for (const target of targets) {
    attackTarget(target);
    sleep(1000 / cpsValue.get()); // CPS
}
</code></pre>
<p dir="auto">});</p>
<p dir="auto">// Aktiver modulet<br />
script.on("enable", () =&gt; {<br />
Client.displayChatMessage("§eVKKILLAURA module enabled.");<br />
});</p>
<p dir="auto">// Deaktiver modulet<br />
script.on("disable", () =&gt; {<br />
isEnabled = false;<br />
targetList.length = 0; // Rydder mål listen<br />
Client.displayChatMessage("§eVKKILLAURA module disabled.");<br />
});</p>
<p dir="auto">This dose not work at all, i made it with chatgpt and i have no coding experience, what i want it to do is to make   killaura target the players on the list i can interact with the list with these commands:<br />
.vka -active/deactivate<br />
.vk "Name" -adds a player<br />
.vkf "name" -removes a player<br />
.vkl -shows the list</p>
<p dir="auto">I hope that someone can help me fix the script so that i can target the players i want- Thanks!</p>
]]></description><link>https://forum.liquidbounce.net/topic/8342/targetcontroll</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8342/targetcontroll</guid><dc:creator><![CDATA[Asgerblau]]></dc:creator><pubDate>Sun, 20 Oct 2024 11:16:50 GMT</pubDate></item><item><title><![CDATA[networking stuff with hypixel api]]></title><description><![CDATA[<p dir="auto">I need help getting stuff from the hypixel bazaar api to use in my script, i have no idea what I am doing with java just a little bit of javascript.<br />
When I try to get chat gpt or any ai to get stuff from api it just returns a null pointer array thing. I just need to get data into my code if anyone could help that would be great! Thanks!</p>
]]></description><link>https://forum.liquidbounce.net/topic/8316/networking-stuff-with-hypixel-api</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8316/networking-stuff-with-hypixel-api</guid><dc:creator><![CDATA[pdxmelon]]></dc:creator><pubDate>Mon, 02 Sep 2024 00:38:20 GMT</pubDate></item><item><title><![CDATA[get armor of facing entity]]></title><description><![CDATA[<p dir="auto">i want to get the helmet of the entity im facing, then swap to a hotbar slot accordingly. its also ok to attack the entity then switch to the slot, so that that slot is used to attack the entity</p>
]]></description><link>https://forum.liquidbounce.net/topic/8213/get-armor-of-facing-entity</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8213/get-armor-of-facing-entity</guid><dc:creator><![CDATA[CoderCat]]></dc:creator><pubDate>Thu, 25 Jul 2024 08:52:14 GMT</pubDate></item><item><title><![CDATA[Accessing non-class kotlin functions]]></title><description><![CDATA[I figured it out, lol. Just have to do
Java.type("net.ccbluex.liquidbounce.utils.aiming.RotationFindingKt");

a.k.a.: add [filename]Kt at the end of the type cause that's just how Kotlin works.
]]></description><link>https://forum.liquidbounce.net/topic/8171/accessing-non-class-kotlin-functions</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8171/accessing-non-class-kotlin-functions</guid><dc:creator><![CDATA[karkov]]></dc:creator><pubDate>Mon, 17 Jun 2024 13:03:22 GMT</pubDate></item><item><title><![CDATA[net.minecraft.network.play.client.C03PacketPlayer doesnt exist somehow i ddint make the script some1 else made it]]></title><description><![CDATA[@Moin-Moin  i agree ngll
]]></description><link>https://forum.liquidbounce.net/topic/8161/net-minecraft-network-play-client-c03packetplayer-doesnt-exist-somehow-i-ddint-make-the-script-some1-else-made-it</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8161/net-minecraft-network-play-client-c03packetplayer-doesnt-exist-somehow-i-ddint-make-the-script-some1-else-made-it</guid><dc:creator><![CDATA[testingyounes]]></dc:creator><pubDate>Mon, 10 Jun 2024 15:30:43 GMT</pubDate></item><item><title><![CDATA[Help with GUIs]]></title><description><![CDATA[you can use fabric api to click on an item in the GUI.
]]></description><link>https://forum.liquidbounce.net/topic/8152/help-with-guis</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8152/help-with-guis</guid><dc:creator><![CDATA[hiro1234omochi]]></dc:creator><pubDate>Wed, 29 May 2024 12:22:21 GMT</pubDate></item><item><title><![CDATA[Hey]]></title><description><![CDATA[@HieuNamYT wdym by packet codes? like C08 or smth like that?
]]></description><link>https://forum.liquidbounce.net/topic/8122/hey</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8122/hey</guid><dc:creator><![CDATA[EclipsesDev]]></dc:creator><pubDate>Sun, 05 May 2024 09:57:25 GMT</pubDate></item><item><title><![CDATA[massive performance issues]]></title><description><![CDATA[<p dir="auto">When the following module:</p>
<pre><code class="language-js">/// api_version=2
registerScript({
    name: 'a',
    version: '0.0.0',
    authors: ['a']
}).registerModule({
    name: "MyModule2",
    category: "Misc",
}, function (mod) {
    var state = 0;

    mod.on("gameTick", function () {
        state++;
        if (!mc.player.onGround) {
            switch (state) {
            case 1:
                mc.player.velocity.y += 0.1;
                break;

            case 2:
                state = 0;
                break;
            }
        }
    });
});
</code></pre>
<p dir="auto">is enabled on latest nextgen, the game grinds to a halt and runs at 1 FPS at most. How come? I presume this warning is related?</p>
<pre><code>[engine] WARNING: The polyglot context is using an implementation that does not support runtime compilation.
The guest application code will therefore be executed in interpreted mode only.
Execution only in interpreted mode will strongly impact the guest application performance.
For more information on using GraalVM see https://www.graalvm.org/java/quickstart/.
To disable this warning the '--engine.WarnInterpreterOnly=false' option or use the '-Dpolyglot.engine.WarnInterpreterOnly=false' system property.
</code></pre>
]]></description><link>https://forum.liquidbounce.net/topic/8109/massive-performance-issues</link><guid isPermaLink="true">https://forum.liquidbounce.net/topic/8109/massive-performance-issues</guid><dc:creator><![CDATA[Na]]></dc:creator><pubDate>Thu, 25 Apr 2024 10:28:38 GMT</pubDate></item></channel></rss>