CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    (Reupload from Aftery) add your panels into the liquidbounce clickgui using the scriptapi

    Resources
    7
    10
    326
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ChocoPie_isme
      ChocoPie_isme Banned last edited by ChocoPie_isme

      hello men))

      today i show you how add cool panel to water client mod menu ok??))))) very paster friendly of course
      first u get these 3 class defs

      var LiquidBounce = Java.type("net.ccbluex.liquidbounce.LiquidBounce");
      var ButtonElement = Java.type("net.ccbluex.liquidbounce.ui.client.clickgui.elements.ButtonElement");
      var Panel = Java.type("net.ccbluex.liquidbounce.ui.client.clickgui.Panel");
      

      now u extend Panel because it abstracc

      var APanel = Java.extend(Panel, { setupItems: function() {} });
      

      ok cool u can make panel now men)) offtopic tho, idk why just creating the panel normally doesn't work

      APanel.class.getConstructors()[0].newInstance(name, x, y, w, h, open)
      

      now make button

      var coolbuttonxdd = new (Java.extend(ButtonElement))(name) {
      	mouseClicked: function(mouseX, mouseY, mouseButton) {
      		if (coolbuttonxdd.isHovering(mouseX, mouseY) && mouseButton == 0) chat.print("ur mom gay");
      	}
      };
      panel.getElements().add(coolbuttonxdd);
      

      ok now u can add ur panel into the minecraft video game :DDDDDDDD remember to remove ur panels when ur done or ur gay!

      //init code
      LiquidBounce.clickGui.panels.add(panel);
      //shutdown code
      LiquidBounce.clickGui.panels.remove(panel);
      

      Where to call these 2 functions are left out as an exercise for the reader. hint: clickGui is initialized after scripts init.

      thank for coming to my ted t alk dit me thang choco
      i have the coronavirus
      soon i will make tutorial on how get famale in liquidbnouec using the scriptapi honhonhonhon

      Nashorn Documentation

      im the copy paste god men)))))))

      1 Reply Last reply Reply Quote 0
      • Temm
        Temm Moderator last edited by

        Ever considered making proper posts without your cringy trash humor?)))))))

        A 1 Reply Last reply Reply Quote 0
        • A
          Aftery @Temm last edited by

          This post is deleted!
          infAura 1 Reply Last reply Reply Quote 1
          • infAura
            infAura @Aftery last edited by

            @Aftery your opinion is trash

            1 Reply Last reply Reply Quote 1
            • ChocoPie_isme
              ChocoPie_isme Banned last edited by

              im trash

              1 Reply Last reply Reply Quote 0
              • Azure
                Azure last edited by

                yes you are

                1 Reply Last reply Reply Quote 0
                • exit scammed
                  exit scammed last edited by

                  thx for the best tutorial ever on dis world

                  ChocoPie_isme A 2 Replies Last reply Reply Quote 0
                  • ChocoPie_isme
                    ChocoPie_isme Banned @exit scammed last edited by

                    @Trashery said in (Reupload from Aftery) add your panels into the liquidbounce clickgui using the scriptapi:

                    thx for the best tutorial ever on dis world

                    that's your tutorial lol

                    1 Reply Last reply Reply Quote 0
                    • LolMC
                      LolMC last edited by

                      CLick click
                      that by nvaros men))

                      1 Reply Last reply Reply Quote 0
                      • A
                        Aftery @exit scammed last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        About
                        • Terms of Service
                        • Privacy Policy
                        • Status
                        • Contact Us
                        Downloads
                        • Releases
                        • Source code
                        • License
                        Docs
                        • Tutorials
                        • CustomHUD
                        • AutoSettings
                        • ScriptAPI
                        Community
                        • Forum
                        • Guilded
                        • YouTube
                        • Twitter
                        • D.Tube