Skip to content

ScriptAPI

A place to ask for help on writing scripts

305 Topics 2.2k Posts
  • I send an autoL that can be used (/msg) to chat on the server

    Moved
    4
    0 Votes
    4 Posts
    131 Views
    BFFGOLSB

    @aftery yep

  • How to change the title?

    Moved
    5
    0 Votes
    5 Posts
    207 Views
    A

    and it looks like you dont know how to use search yet

  • Cant load minecraft classes with Java.type on 1.12.2 b73

    Solved
    5
    0 Votes
    5 Posts
    155 Views
    Senk JuS

    @ethan-kleine We are working on an entirely new version of LiquidBounce for latest Minecraft. Older versions like LiquidBounce 1.12.2 won't receive updates anymore, instead there will only be one LiquidBounce which is compatible with Minecraft 1.8 - 1.12.2 servers.

  • how to change settings of modules via chat which are made using scripts

    Solved
    19
    0 Votes
    19 Posts
    738 Views
    kaduvertK

    @FaaatPotato
    yeah, your example works on b73, previously played with b72. sorry about that
    seems to be fixed in b73, sorry to bother you all

  • how do i use hclip in the script api,

    Solved
    18
    0 Votes
    18 Posts
    389 Views
    dntdbtD

    ok

    module.on("enable", function() { Clip(10, 0); }) //[....] function Clip(hClip, vClip) { mc.thePlayer.setPosition(mc.thePlayer.posX - Math.sin(mc.thePlayer.rotationYaw * Math.PI / 180) * hClip, mc.thePlayer.posY + vClip, mc.thePlayer.posZ + Math.cos(mc.thePlayer.rotationYaw * Math.PI / 180) * hClip); }
  • Where would I put core.lib? I'm not very familiar with this sorry

    Unsolved
    3
    0 Votes
    3 Posts
    157 Views
    ?

    put it in your scripts folder with other scripts

  • Help

    Unsolved
    12
    0 Votes
    12 Posts
    333 Views
    LigmaL

    @crazyblueslav with your brain u cant
    learn javascript or dont

  • .vanish dismount

    Moved
    11
    0 Votes
    11 Posts
    577 Views
    DreamWasFuckedD

    Thanks for aac5 disabler! Works!

  • Help...

    Solved
    6
    0 Votes
    6 Posts
    202 Views
    Its DommeI

    @auto-reply-bot Thank you so much.

  • How to turn your head up

    Unsolved
    23
    0 Votes
    23 Posts
    542 Views
    ?

    @its-domme said in How to turn your head up:

    @caex said in How to turn your head up:

    hello, person who cant read the instructions
    before making a script, make sure you satisfy the following conditions:

    you have access to liquidbounce
    you have r/w access to the scripts folder
    you know javascript

    This all fits me, I know js and read the Script api

    then why are you asking what to import if you know how to check the freaking src codes

  • Getting the text of Playerlist Tab

    Solved
    17
    0 Votes
    17 Posts
    405 Views
    ?
    if (event.getPacket() instanceof S47PacketPlayerListHeaderFooter) { footer = event.getPacket().getFooter().getUnformattedText() header = event.getPacket().getHeader().getUnformattedText() // getFormattedText() if you want to include formatting codes, not recommended }

    getters > reflection

  • Remove Messages from chat

    Unsolved
    2
    0 Votes
    2 Posts
    108 Views
    DreamWasFuckedD

    cancel message packet

  • Script support.

    Moved
    13
    0 Votes
    13 Posts
    369 Views
    GridzzG

    @czechhek said in Script support.:

    @gridzz there should be
    ///api_version=2
    as the first line

    edit: you had it there before ah

    Yeah, still doesn't work. What can I do, as I think it's the codes fault. I want to place blocks twice (aka the double clicking) and also set an option to double click on LMB later.

  • Who knows can write scripts | NeebHelp

    Unsolved
    6
    0 Votes
    6 Posts
    192 Views
    Plumer ManP

    @plumer-man https://scriptapi.liquidbounce.net/ - more stuff

  • how to get arrow

    Solved
    13
    0 Votes
    13 Posts
    200 Views
    Q

    net.minecraft.init.Items -> public static final Item arrow
    recommended reading: minecraft source code

    edit: also accomplishable by checking unlocalized item name

  • Please help me

    8
    0 Votes
    8 Posts
    234 Views
    Senk JuS

    @its-domme https://liquidbounce.net/docs/ScriptAPI/Using Java Classes

  • GUYS help me

    Moved
    28
    1 Votes
    28 Posts
    717 Views
    TheAppleProT

    @kachum-lol gmail.com

  • [REQ] Antivoid requires to be over void to work

    Moved
    1
    0 Votes
    1 Posts
    168 Views
    No one has replied
  • Uh..

    Moved
    16
    0 Votes
    16 Posts
    342 Views
    potatopotatoP

    @senk-ju i cant find places where i can "learn" the codes

  • mouse click check

    4
    1 Votes
    4 Posts
    190 Views
    DreamWasFuckedD

    @skiddermaster412 thx allah!!!