Skip to content
  • Universo craft skypit (Request)

    Configs
    1
    0 Votes
    1 Posts
    8 Views
    No one has replied
  • Liquid Bounce b97 1.8.9 no scripts are working.

    Bug Reports
    7
    0 Votes
    7 Posts
    131 Views
    H

    I take it you won't help me?!

  • i cant chance the version of minecrat

    General Discussion
    5
    0 Votes
    5 Posts
    127 Views
    EclipsesDevE

    @Aqsa-Bibi ViaFabricPlus

  • ViaForge

    Suggestions
    3
    0 Votes
    3 Posts
    63 Views
    kawaiinekololisK

    At this point use Nextgen, what? :axothonk:

  • add noise to the killaura settings and dots to the visual

    Requests
    2
    0 Votes
    2 Posts
    36 Views
    kawaiinekololisK

    visual dot: https://github.com/CCBlueX/LiquidBounce/pull/4040

    noise / general aim changes:
    https://github.com/CCBlueX/LiquidBounce/pull/4032
    https://github.com/CCBlueX/LiquidBounce/pull/4032
    https://github.com/CCBlueX/LiquidBounce/pull/4035

    done.

    1zun4 opened this pull request in CCBlueX/LiquidBounce closed feat: rotation visual options (vector line, dot, camera) #4040 1zun4 opened this pull request in CCBlueX/LiquidBounce closed feat: gaussian factor and chance #4032 1zun4 opened this pull request in CCBlueX/LiquidBounce closed feat: gaussian factor and chance #4032 1zun4 opened this pull request in CCBlueX/LiquidBounce closed feat: short stop #4035
  • 1.21.1 nextgen 报错

    Chinese
    3
    0 Votes
    3 Posts
    171 Views
    EclipsesDevE

    尝试使用 cloudflare warp 或 vpn

  • ESP does not display all players.

    Bug Reports
    1
    0 Votes
    1 Posts
    22 Views
    No one has replied
  • pls add keepsprint mode onlywhennohurttime

    Requests
    2
    0 Votes
    2 Posts
    85 Views
    GleepyG

    i think you can make it with macros

  • Need selective mode Nuker

    Suggestions
    1
    0 Votes
    1 Posts
    23 Views
    No one has replied
  • AutoL

    Scripts
    3
    0 Votes
    3 Posts
    357 Views
    P

    攻击力太高了吧。。。

  • Nuker

    Configs
    1
    0 Votes
    1 Posts
    32 Views
    No one has replied
  • BarritoneStopper

    Scripts
    2
    0 Votes
    2 Posts
    222 Views
    C

    based on my previous experience in scripting, I believe you need to somehow call the baritone api to make it work, or somehow find a dirty way to call the function that parses the chat. Client.displayChatMessage should only show the chat in the client side instead of tries to send to the server, I am not aware which level baritone deals with the #command. Below is my attempt to ask claude-3-5 to write the script to call the baritone api, it is likely that it's not going to work because I did not feed the baritone doc into it, so it might make up some none-existent api or outdated api. Look only in the 4th section and find what might be useful to you.

    For the ReferenceError: 'Player' is not defined maybe try mc.player. And further look into this https://maven.fabricmc.net/docs/yarn-1.20.4+build.3/index.html for other references.

    Looks like that we might need a better scripting experience now, I have not yet look into that area carefully in the next gen.

    I do appreciate if you can give futher feedback and your work on these, will be quite happy to help.

    Continue session transcript User

    how do I call other baritone's api in fabric with a graaljs environment without explictly any binding into js context and instead use the polygot and Java.type and other graaljs things?

    Assistant

    To call other Baritone's API in Fabric with a GraalJS environment without explicitly binding to the JS context, you can use GraalJS's Polyglot features and Java.type. Here's a general approach:

    Ensure you have the necessary dependencies:

    GraalJS Fabric Baritone

    In your Fabric mod, set up the GraalJS engine and create a context:

    import org.graalvm.polyglot.*; // In your mod's initialization Context context = Context.newBuilder("js") .allowAllAccess(true) .build(); Load and evaluate your JavaScript code: context.eval("js", "your_javascript_code_here"); In your JavaScript code, you can use Java.type to access Java classes, including Baritone's API: // Example JavaScript code var BaritoneBridge = Java.type('baritone.api.BaritoneAPI'); var Settings = Java.type('baritone.api.Settings'); // Get the player's Baritone instance var baritone = BaritoneBridge.getProvider().getPrimaryBaritone(); // Access settings var settings = baritone.getSettings(); // Use Baritone's API function moveToBlock(x, y, z) { baritone.getPathingBehavior().cancelEverything(); baritone.getCustomGoalProcess().setGoalAndPath(new Java.type('baritone.api.pathing.goals.GoalBlock')(x, y, z)); } // Example usage moveToBlock(100, 64, 100); To call JavaScript functions from Java, you can use: Value jsFunction = context.eval("js", "moveToBlock"); jsFunction.execute(100, 64, 100);

    This approach allows you to use Baritone's API in your JavaScript code without explicitly binding it to the JS context. Instead, you're using GraalJS's Java.type to access Java classes and methods directly.

    Remember to handle exceptions and properly close the GraalJS context when you're done:

    context.close();

    Also, make sure you have the necessary permissions and that Baritone is properly initialized in your Fabric environment before attempting to use its API.

  • Kill aura

    Unsolved General
    2
    0 Votes
    2 Posts
    68 Views
    EclipsesDevE

    pls explain

  • cant walk

    General Discussion
    2
    0 Votes
    2 Posts
    56 Views
    EclipsesDevE

    turn off speed or movement related modules

  • Not work and When entering only vanilla

    Unsolved General
    2
    0 Votes
    2 Posts
    217 Views
    EclipsesDevE

    most likely due to

    java.io.FileNotFoundException: /storage/emulated/0/Android/data/net.kdt.pojavlaunch.firefly/files/.minecraft/mods/liquidbounce.jar (Permission denied)
  • 0 Votes
    2 Posts
    209 Views
    S

    .config load vanilla

  • what does this error mean?

    General Discussion
    4
    0 Votes
    4 Posts
    200 Views
    MikeLowelM

    It means I am a wallmart bag

  • Player rotation being stuck for no reason

    Bug Reports
    3
    0 Votes
    3 Posts
    117 Views
    EclipsesDevE

    this might been fix in latest nightly version

  • gomme1_8 config: Killaura does not work

    General Discussion
    3
    0 Votes
    3 Posts
    221 Views
    JiveJ

    turning off "Consider Miss Cooldown" fixes the problem

  • networking stuff with hypixel api

    Unsolved ScriptAPI
    1
    0 Votes
    1 Posts
    81 Views
    No one has replied