ScriptAPI

A place to ask for help on writing scripts

296 Topics 2.2k Posts
  • Help writing a custom prison mining script

    21
    0 Votes
    21 Posts
    1k Views

    thx for the help

  • Reading packet data?

    3
    0 Votes
    3 Posts
    173 Views

    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(); } });
  • 0 Votes
    3 Posts
    92 Views

    @CzechHek thank you!

  • get block texture and blur

    2
    0 Votes
    2 Posts
    165 Views

    image
    //8chars

  • 0 Votes
    3 Posts
    452 Views

    @CzechHek said in How to use LiquidBounce's rotations utils in a script?:

    I don't know what isn't clear to you.

    Here is an example:

    if (e.getEventState() == "PRE") { entity = getNearestTarget(EntityZombie); diffX = entity.posX - mc.thePlayer.posX; diffY = entity.posY - mc.thePlayer.posY; diffZ = entity.posZ - mc.thePlayer.posZ; rotation = new Rotation((Math.atan2(diffZ, diffX) * 180 / Math.PI) - 90, -(Math.atan2(diffY, Math.sqrt(diffX * diffX + diffZ * diffZ)) * 180 / Math.PI)); limitedRotation = RotationUtils.limitAngleChange(RotationUtils.serverRotation, rotation, 20); RotationUtils.setTargetRotation(limitedRotation); //limitedRotation.toPlayer(mc.thePlayer); }

    If I understood properly, it should rotate at the closest zombie with a rotation speed of 20 max

  • Help for script start

    2
  • v2 api script scripts not identified in liquidbounce.

    Solved
    10
    0 Votes
    10 Posts
    446 Views

    @CzechHek Thanks, it's solved.

  • ClassProvider in scripts

    8
    0 Votes
    8 Posts
    264 Views

    @infAura so you can join 1.16 server? and with ViaFabric you also can join older version like in Sigma

  • This topic is deleted!

    5
    0 Votes
    5 Posts
    45 Views
  • How to add a code to my killaura.class

    2
    0 Votes
    2 Posts
    191 Views
    No one has replied
  • how to code a scaffold with packet rotations?

    5
    0 Votes
    5 Posts
    251 Views

    @ruado_Vn thanks

  • [SUPPORT] Will this script work?

    9
    0 Votes
    9 Posts
    231 Views

    @VisionFX Yeah that's it. Most public ac can't detect it. The one that could do is horizon. Probably because hitting people whose has hurttime will make motionXZ *= 0.6.

  • Simulate a click

    6
  • How to code a blockEsp script?

    5
    0 Votes
    5 Posts
    227 Views

    it's the waypoints module if im not wrong, you set a location and there will be some kind of tracker to it

  • 0 Votes
    1 Posts
    193 Views
    No one has replied
  • 1 Votes
    8 Posts
    723 Views

    @CzechHek
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
    [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException

  • Where is the mistake?

    9
    0 Votes
    9 Posts
    288 Views

    @ButterChicken That's what you were supposed to do.

    @CzechHek said in Where is the mistake?:

    @ButterChicken Title messages are often in siblings or smth, print the component and find where the "Victory!" is.

    Here is the documentation: https://scriptapi.liquidbounce.net/net/minecraft/util/ChatComponentText.html

  • How to determine whether the script is enabled?

    Solved
    9
    0 Votes
    9 Posts
    248 Views

    @CzechHek thanks

  • antivanish ))))

    2
    0 Votes
    2 Posts
    217 Views

    The best chances for you is to check S38.

  • I need Matrix AntiBot

    16
    0 Votes
    16 Posts
    1k Views

    @CzechHek sometimes a bot is shown and you could hit them but most bots will be disabled.