Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

test test2T

test test2

@test test2
About
Posts
11
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to draw a gradient rect
    test test2T test test2

    Solved, handwritten

    ScriptAPI

  • How to draw a gradient rect
    test test2T test test2

    6ed25847-0834-41a0-8d26-37086477c011-image.png

    68088ebc-3425-4c3a-839c-d4e9600681cd-image.png

    00b5f95f-3034-4f24-b861-2acac9540993-image.png

    fa95c5f2-bc17-4150-ad14-9fc19ce5016d-image.png

    render2d:
    7bed28e2-6388-4476-9403-21ecca44d180-image.png
    ee626b1d-4312-489c-a8cb-3a545abdc5cc-image.png

    ScriptAPI

  • How to draw a gradient rect
    test test2T test test2

    oh, how to include Core library?

    ScriptAPI

  • How to draw a gradient rect
    test test2T test test2

    43839bce-eb6a-4978-ba3b-8a9abf949356-image.png
    onRender:
    9f359c9f-e142-49cd-88cb-1606eb8f5543-image.png

    Result:
    f1f8288a-0e63-4439-90a4-f281a3241e1a-image.png

    ScriptAPI

  • How to draw a gradient rect
    test test2T test test2
                        try {
                            var method = Gui.class.getDeclaredMethod("drawGradientRect");
                            method.setAccessible(true);
                            method.invoke(Gui.class, 10, 10, 10 + 50, 10 + 50, Color.RED.getRGB(), Color.BLUE.getRGB());
                        } catch (ex) {
                            ex.printStackTrace();
                        }
    

    What's wrong here?

    ScriptAPI

  • How to draw a gradient rect
    test test2T test test2

    How to draw a gradient rect?

    Gui.drawGradientRect is 'protected'

    ScriptAPI

  • drawString wrong xy value
    test test2T test test2

    help please. text goes nowhere

    ScriptAPI

  • drawString wrong xy value
    test test2T test test2
    var Fonts = Java.type("net.ccbluex.liquidbounce.ui.font.Fonts");
    
    var x = 100;
    var y = 100;
    
    Fonts.font40.drawString("test", x + 35 + 25, 100 + 25, -1);
    

    Code not full

    ScriptAPI

  • drawScaledCustomSizeModalRect isn't working
    test test2T test test2

    Sorry, i'm stupid. x and y does not exists

    ScriptAPI gui script

  • drawScaledCustomSizeModalRect isn't working
    test test2T test test2
    var target;
    var GL11 = Java.type("org.lwjgl.opengl.GL11");
    var Gui = Java.type("net.minecraft.client.gui.Gui");
    var Color = Java.type("java.awt.Color");
    var KillAura = Java.type("net.ccbluex.liquidbounce.features.module.modules.combat.KillAura");
    var LiquidBounce = Java.type("net.ccbluex.liquidbounce.LiquidBounce");
    var EntityPlayer = Java.type("net.minecraft.entity.player.EntityPlayer");
    
    script.registerModule({
        name: "secret",
        category: "Render", 
        description: "secret"
    }, function (module) {
        module.on("render2D", function(e) {
            if ((LiquidBounce.moduleManager.getModule(KillAura.class)).target != null && (LiquidBounce.moduleManager.getModule(KillAura.class)).target instanceof EntityPlayer) {
                target = (LiquidBounce.moduleManager.getModule(KillAura.class)).target;
                
                GL11.glPushMatrix();
                
              mc.getTextureManager().bindTexture(target.getLocationSkin());
                GL11.glColor4f(1, 1, 1, 1);
                Gui.drawScaledCustomSizeModalRect(x + 6, y + 6, 8, 8, 8, 8, 35, 35, 64, 64);
    
                GL11.glPopMatrix();
            }
        });
    });
    
    ScriptAPI gui script

  • drawScaledCustomSizeModalRect isn't working
    test test2T test test2
    mc.getTextureManager().bindTexture(target.getLocationSkin());
    GL11.glColor4f(1, 1, 1, 1);
    Gui.drawScaledCustomSizeModalRect(x + 6, y + 6, 8, 8, 8, 8, 35, 35, 64, 64);
    

    After that, the stackoverflow error appears

    ScriptAPI gui script
  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups