(Reupload from Aftery) add your panels into the liquidbounce clickgui using the scriptapi
-
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 defsvar 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 honhonhonhonim the copy paste god men)))))))
-
im trash
-
thx for the best tutorial ever on dis world
-
@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
-
CLick click
that by nvaros men)) -
This post is deleted!