Skip to content

ScriptAPI

A place to ask for help on writing scripts

312 Topics 2.3k Posts
  • How to change Liquidbounce module values using script

    3
    0 Votes
    3 Posts
    383 Views
    O
    @dont_doubt Learn ScriptAPI and stop asking about everything.
  • Screenshot capability?

    3
    0 Votes
    3 Posts
    355 Views
    exit scammedE
    @chodeman maybe the easiest way is just send keyboard event that press screenshot button
  • Does anyone know why it doesnt work?

    3
    0 Votes
    3 Posts
    290 Views
    DreamWasFuckedD
    @idk-my-name This doesnt work and why C0BPacketEntityAction.Action.START_SPRINTING works
  • Where can I find all of the "mc.xxxxxx" packets?

    4
    0 Votes
    4 Posts
    547 Views
    CzechHekC
    @dont_doubt https://scriptapi.liquidbounce.net/allclasses-noframe.html Start by finding class named "Minecraft" and browsing all of its fields and methods.
  • [HELP] ScriptManager Doesn't Work

    5
    0 Votes
    5 Posts
    388 Views
    ?
    @covokiesan said in [HELP] ScriptManager Doesn't Work: @sexma It doesn't help. then it is something wrong in your liquidbounce version
  • MatrixAntibot for LB b2 1.12.2

    30
    0 Votes
    30 Posts
    6k Views
    Дудник МаксимД
    @ohno false?
  • This topic is deleted!

    9
    0 Votes
    9 Posts
    57 Views
  • removing another modules?

    5
    0 Votes
    5 Posts
    490 Views
    dntdbtD
    @czechhek Thank you, have a nice day =p
  • Creating Inventory Tabs Script: Items not Showing up

    creative issue script
    3
    0 Votes
    3 Posts
    629 Views
    B
    @somedudeyouveneverheardof No I already tried that but thanks.
  • [HELP]

    4
    0 Votes
    4 Posts
    425 Views
    CzechHekC
    @czechhek said in [HELP]: @abdou Which scripts, what LB version, logs + wrong category?
  • How to create a custom AntiBot

    19
    0 Votes
    19 Posts
    2k Views
    ForeheadchanF
    @czechhek yeah that works too, either check not instanceof or not equal to
  • This topic is deleted!

    8
    0 Votes
    8 Posts
    90 Views
  • [CORE] Module

    21
    0 Votes
    21 Posts
    3k Views
    yorik100Y
    @idk-my-name said in [CORE] Module: @gabriel Lie. Good AC devs dont look into client source codes I'd agree with that mostly but if the bypass is doing very specific stuff and that bypass is open source, it is quite east to fix (like a disabler for example)
  • [HELP] MoveSpeed

    13
    0 Votes
    13 Posts
    1k Views
    O
    function getBaseMoveSpeed() { var baseSpeed = 0.2875 if (mc.thePlayer.isPotionActive(Potion.moveSpeed)) { baseSpeed *= 1.0 + 0.2 * (mc.thePlayer.getActivePotionEffect(Potion.moveSpeed).getAmplifier() + 1) } return baseSpeed }
  • [HELP] How to us Core.lib

    13
    0 Votes
    13 Posts
    2k Views
    CzechHekC
    @zhao-yun No, why should it give you hints? Your expectations are a bit off. Start off by looking at code of already existing Core scripts. https://github.com/CzechHek/Core/tree/master/Scripts
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    50 Views
  • Help writing a custom prison mining script

    21
    0 Votes
    21 Posts
    5k Views
    P
    thx for the help
  • Reading packet data?

    3
    0 Votes
    3 Posts
    378 Views
    P
    I've also come across a solution for this. Although I'm not quite sure if this is working properly because when breaking a carrot, I detect two packets both with the action of START_DESTROY_BLOCK, and nothing else. For now this seems to suffice. var packetDig = Java.type("net.minecraft.network.play.client.C07PacketPlayerDigging"); module.on("packet", function(eventData) { var packet = eventData.getPacket(); if (packet instanceof packetDig) { Chat.print("Stat: " + packet.getStatus()); Chat.print("Pos: " + packet.getPosition()); Chat.print("Facing: " + packet.getFacing()); //eventData.cancelEvent(); } });
  • How i can create three+ modules in one js file using Core?

    3
    0 Votes
    3 Posts
    308 Views
    [deleted][
    @CzechHek thank you!
  • get block texture and blur

    2
    0 Votes
    2 Posts
    337 Views
    LitelyL
    image //8chars