Kotlin LiquidBounce Next-Gen bb70b56 支持JavaScript吗?
-
路径:Liquidbounce_1.18.1.minecraft\LiquidBounce\scripts
我按照 https://liquidbounce.net/docs/ScriptAPI 编写的 Javascript 脚本==English==
Kotlin Version LiquidBounce Next-Gen (Minecraft 1.18.1) github bb70b56 whether or not supported JavaScript File?
.minecraft\LiquidBounce\scripts***.js/// api_version=2 var script = registerScript( { name: "AutoLake", version: "1.0.0", authors: ["none"] } ); script.registerModule( { name: 'AutoLake', category: 'Fun', description: 'Strong Spammer' }, function (module) { module.on( 'enable', function () { Chat.print('AutoLake模块启动'); } ); module.on( 'disable', function () { Chat.print('AutoLake模块关闭'); } ); module.on( 'update', function () { Chat.print('AutoLake模块更改?'); } ); } );/// api_version=2 var script = registerScript({ name: "MyScript", version: "1.0.0", authors: ["My Name"] }); script.registerModule({ name: "MyModule", category: "Misc", description: "An example module created with LiquidBounce's script API." }, function (module) { module.on("enable", function() { Chat.print("Module enabled"); }); });还有这个人做的脚本,和以上我编的/官方教程编好的,都不能用 https://forums.ccbluex.net/topic/1849/杰哥不要自动刷屏
当我使用Liquidbounce 1.8.9 时,就可以使用
-
路径:Liquidbounce_1.18.1.minecraft\LiquidBounce\scripts
我按照 https://liquidbounce.net/docs/ScriptAPI 编写的 Javascript 脚本==English==
Kotlin Version LiquidBounce Next-Gen (Minecraft 1.18.1) github bb70b56 whether or not supported JavaScript File?
.minecraft\LiquidBounce\scripts***.js/// api_version=2 var script = registerScript( { name: "AutoLake", version: "1.0.0", authors: ["none"] } ); script.registerModule( { name: 'AutoLake', category: 'Fun', description: 'Strong Spammer' }, function (module) { module.on( 'enable', function () { Chat.print('AutoLake模块启动'); } ); module.on( 'disable', function () { Chat.print('AutoLake模块关闭'); } ); module.on( 'update', function () { Chat.print('AutoLake模块更改?'); } ); } );/// api_version=2 var script = registerScript({ name: "MyScript", version: "1.0.0", authors: ["My Name"] }); script.registerModule({ name: "MyModule", category: "Misc", description: "An example module created with LiquidBounce's script API." }, function (module) { module.on("enable", function() { Chat.print("Module enabled"); }); });还有这个人做的脚本,和以上我编的/官方教程编好的,都不能用 https://forums.ccbluex.net/topic/1849/杰哥不要自动刷屏
当我使用Liquidbounce 1.8.9 时,就可以使用
-
@ali-ccfakex-0 Thank you very much.
-
@ali-ccfakex-0 Thank you very much.
-
This is not how scripts should be made in LiquidBounce Nextgen.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login