Skip to content

ScriptAPI

A place to ask for help on writing scripts

316 Topics 2.3k Posts
  • How to turn your head up

    Unsolved
    23
    0 Votes
    23 Posts
    7k 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
    2k 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
    347 Views
    DreamWasFuckedD
    cancel message packet
  • Script support.

    Moved
    13
    0 Votes
    13 Posts
    2k 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
    786 Views
    Plumer ManP
    @plumer-man https://scriptapi.liquidbounce.net/ - more stuff
  • how to get arrow

    Solved
    13
    0 Votes
    13 Posts
    2k 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
    1k Views
    Senk JuS
    @its-domme https://liquidbounce.net/docs/ScriptAPI/Using Java Classes
  • GUYS help me

    Moved
    28
    1 Votes
    28 Posts
    8k Views
    TheAppleProT
    @kachum-lol gmail.com
  • [REQ] Antivoid requires to be over void to work

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

    Moved
    16
    0 Votes
    16 Posts
    2k Views
    potatopotatoP
    @senk-ju i cant find places where i can "learn" the codes
  • mouse click check

    4
    1 Votes
    4 Posts
    577 Views
    DreamWasFuckedD
    @skiddermaster412 thx allah!!!
  • (HELP) ka not working when bhopping

    Moved
    4
    0 Votes
    4 Posts
    681 Views
    C
    @9000miles Use Hitbox(module) and predict is better if you're moving fast
  • How use core.lib

    6
    0 Votes
    6 Posts
    829 Views
    Its DommeI
    @leaked-pvp Thanks its realy cool
  • Server ip

    Moved
    4
    0 Votes
    4 Posts
    853 Views
    some oneS
    @leaked-pvp thanks
  • Change my Session-ID to any other

    5
    0 Votes
    5 Posts
    730 Views
    S
    @senk-ju, i want join to a server with custom auth-server (full custom launcher). I have information from my friends what some players join to server with TLauncher. Now i have a session-id in launcher and i want change my id to true-id in TLauncher. I would say what im want join to custom server with self launcher (without mods) from TLauncher p.s: @Senk-Ju, i send u PM about all situation
  • This topic is deleted!

    16
    0 Votes
    16 Posts
    102 Views
  • how to coed

    5
    1 Votes
    5 Posts
    746 Views
    Advanced SkidderA
    @ProPVP2009_YT Amogus
  • Please tell me the code for the InventoryDisplay module!

    2
    1 Votes
    2 Posts
    398 Views
    GkingG
    hello https://forums.ccbluex.net/topic/1788/kotlin-inventory-element/4?_=1619884699558
  • hi I need help

    12
    1 Votes
    12 Posts
    2k Views
    ?
    @skiddermaster412 said in hi I need help: @chocopiexd so you are trying to send a packet in packet event? idk if this works function sendPacket(packet) { var Class = Java.type("java.lang.Class"); Object.defineProperty(Array.prototype, "find", { value: function (func, returnIndex) { for (i in this) if (func(this[i], i, this)) return returnIndex ? +i : this[i]; return returnIndex ? -1 : null; } }); function getMethod(clazz, methodName) ((_method = Java.from((clazz instanceof Class ? clazz : clazz.class).getDeclaredMethods()).find(function (m) m.getName() == methodName)) && _method.setAccessible(true), _method); function getField(clazz, fieldName) ((_field = getFields(clazz instanceof Class ? clazz : clazz.class).find(function (f) f.getName() == fieldName)) && _field.setAccessible(true), _field); function getFields(clazz) {_fields = Java.from((clazz = clazz instanceof Class ? clazz : clazz.class).getDeclaredFields());while (clazz = clazz.superclass) _fields = _fields.concat(Java.from(clazz.getDeclaredFields()));return _fields;} var networkManager = mc.getNetHandler().getNetworkManager(); var flushOutboundQueueMethod = getMethod(NetworkManager, "func_150733_h") var dispatchPacketMethod = getMethod(NetworkManager, "func_150732_b"); var readWriteLockField = getField(NetworkManager, "field_181680_j"); var outboundPacketsQueueField = getField(NetworkManager, "field_150745_j"); if (networkManager.isChannelOpen()) { flushOutboundQueueMethod.invoke(networkManager); dispatchPacketMethod.invoke(networkManager, packet, null); } else { readWriteLockField.get(networkManager).writeLock().lock(); try { outboundPackets = outboundPacketsQueueField.get(networkManager); outboundPackets.add(new NetworkManager.InboundHandlerTuplePacketListener(packet, null)); outboundPacketsQueueField.set(networkManager, _outboundPackets); } finally { readWriteLockField.get(networkManager).writeLock().unlock(); } } } skidded from core probably it should work since it's skidded from core
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied