Skip to content

Important for new members!

All future posts from members with a reputation of less than 1 will be queued for manual review to prevent forum spam. We will review your posts as soon as possible!

  • Information

    Threads containing useful information

  • Discover additional content made by the community

    18 Topics
    58 Posts
    C
    Update: subsequent updates will be available on https://github.com/commandblock2/minecraft-LBNG-types Now it can kinda generate a working script, but the ts file has a few squiggles. [image: 1738243517052-e3e18814-1645-4bd5-8244-7b8f44663aff-image.png] template.ts // imports import { Setting, Vec3i, Vec3d, MathHelper, BlockPos, Hand, RotationAxis, mc, Client, RotationUtil, ItemUtil, NetworkUtil, InteractionUtil, BlockUtil, MovementUtil, ReflectionUtil, ParameterValidator, UnsafeThread, registerScript } from "@embedded"; import { ScriptModule } from "@minecraft-yarn-definitions/types/net/ccbluex/liquidbounce/script/bindings/features/ScriptModule"; import { Matrix2d } from "@minecraft-yarn-definitions/types/org/joml/Matrix2d"; const script = registerScript.apply({ name: "template", version: "1.0.0", authors: ["commandblock2"] }); script.registerModule({ // @ts-ignore name: "example-from-template", // @ts-ignore description: "Ths is an example module generated in ts", // @ts-ignore category: "Client" }, (mod: ScriptModule) => { mod.on("enable", () => { Client.displayChatMessage(`${mc.player}`) Client.displayChatMessage(`${new Vec3i(1, 2, 3)}`) Client.displayChatMessage(`${new Matrix2d(1.2, 1.3, 1.4, 15)}`) Client.displayChatMessage("enabled") }) mod.on("disable", () => Client.displayChatMessage("disabled")) }) compiled template.js function __require(path) { if (path.startsWith("@embedded")) { return { _embedded: globalThis } } if (path.startsWith("@minecraft-yarn-definitions/types/")) { return { [path.substring(path.lastIndexOf("/") + 1)]: Java.type(path .replaceAll("@minecraft-yarn-definitions/types/", "") .replaceAll("/", ".") ) } } return require(path); } var exports = {} "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const { _embedded } = __require("@embedded"); const { Matrix2d } = __require("@minecraft-yarn-definitions/types/org/joml/Matrix2d"); const script = _embedded.registerScript.apply({ name: "template", version: "1.0.0", authors: ["commandblock2"] }); script.registerModule({ // @ts-ignore name: "example-from-template", // @ts-ignore description: "Ths is an example module generated in ts", // @ts-ignore category: "Client" }, (mod) => { mod.on("enable", () => { _embedded.Client.displayChatMessage(`${_embedded.mc.player}`); _embedded.Client.displayChatMessage(`${new Vec3i(1, 2, 3)}`); _embedded.Client.displayChatMessage(`${new Matrix2d(1.2, 1.3, 1.4, 15)}`); _embedded.Client.displayChatMessage("enabled"); }); mod.on("disable", () => _embedded.Client.displayChatMessage("disabled")); }); [image: 1738243717904-1cb70c51-cc7f-4a90-a122-eff6ab0ad68f-image.png]
  • Legacy Resources

    Discover additional content made by the community

  • Support

    Stuck? Just ask for help!

  • A place to talk about anything related to LiquidBounce

    493 Topics
    3k Posts
    C
    Dev environment [02:09:47] [Render thread/INFO] (Minecraft) [System] [CHAT] LiquidBounce ▸ Fibonacci [time: 23306ms, value: 39088169] [02:09:47] [Render thread/INFO] (Minecraft) [System] [CHAT] LiquidBounce ▸ SieveEratosphen [time: 46371ms, value: 49999991] [02:09:47] [Render thread/INFO] (Minecraft) [System] [CHAT] LiquidBounce ▸ WorldScanner [time: 28334ms, value: 10302255] Production environment [02:41:41] [Render thread/INFO]: [System] [CHAT] LiquidBounce ▸ Fibonacci [time: 1571867ms, value: 39088169] [02:41:41] [Render thread/INFO]: [System] [CHAT] LiquidBounce ▸ SieveEratosphen [time: 46668ms, value: 49999991] [02:41:41] [Render thread/INFO]: [System] [CHAT] LiquidBounce ▸ WorldScanner [time: 28094ms, value: 10302255] Both using i7-9750H, 32G DDR4 RAM with OpenJDK on Linux with Nextgen. Standard script only. Fibonacci in development environment is significantly faster than production environment. (23s vs 1571s)
  • Think something is missing? Let us know!

    227 Topics
    1k Posts
    kawaiinekololisK
    I've removed the CubeCraft config because they've announced they're moving to a new anti-cheat similar to Grim, so it's likely the old config is/will be outdated, so I've removed it from the list until a new config is made. The old config can be found by pulling it from before the delete commit: https://raw.githubusercontent.com/CCBlueX/LiquidCloud/d9512f6b82daea45f15ecb31939bf9f5c9262f94/LiquidBounce/settings/nextgen/cubecraft.json Let me know your feedback on the old config, it may still work, in which case I can/will bring it back.
  • Found a bug? Report it here!

    204 Topics
    1k Posts
    B
    RotationUtils.INSTANCE.setTargetRotation在legacy b97中应该怎么用? 我从之前的js里找到了RotationUtils.INSTANCE.setTargetRotation方法,但无法加载到b97。js源码如下: How to use “RotationUtils.INSTANCE.setTargetRotation” in Legacy B97? I found the ”RotationUtils.INSTANCE.setTargetRotation“ method from an old JS script, but it cannot be loaded in B97.The following are some details:[image: 1738489082387-c1deb05f-f4ad-43d5-9de1-a4cbead2c12a-image.png] 如果可能的话,请提供一个如何使用正确内容或方法的示例,谢谢! If possible, please provide an example of how to use the correct content or method, thank you!
  • A place for our Chinese community

    210 Topics
    794 Posts
    Konoha ScarletK
    部分地区可以直连
  • Talk about anything you like (as long as you follow the rules)!

    517 Topics
    3k Posts
    GleepyG
    Pacman vibes