Skip to content

Commit

Permalink
why spam this ??
Browse files Browse the repository at this point in the history
  • Loading branch information
opZywl committed Nov 18, 2023
1 parent ea2f7f3 commit 482105a
Show file tree
Hide file tree
Showing 15 changed files with 35 additions and 1,740 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import net.ccbluex.liquidbounce.ui.client.gui.clickgui.style.styles.light.LightC
import net.ccbluex.liquidbounce.ui.client.gui.clickgui.style.styles.newVer.NewUi
import net.ccbluex.liquidbounce.ui.client.gui.clickgui.style.styles.novoline.ClickyUI
import net.ccbluex.liquidbounce.ui.client.gui.clickgui.style.styles.onetap.OtcClickGUi
import net.ccbluex.liquidbounce.ui.client.gui.clickgui.style.styles.tenacity.TenacityClickGUI
import net.ccbluex.liquidbounce.ui.client.gui.options.modernuiLaunchOption
import net.ccbluex.liquidbounce.utils.render.ColorUtils.rainbow
import net.minecraft.network.play.server.S2EPacketCloseWindow
Expand Down Expand Up @@ -59,10 +58,6 @@ object ClickGUIModule : Module() {
}
}

val backback = BoolValue("Background Accent", true)
val scrollMode = ListValue("Scroll Mode", arrayOf("Screen Height", "Value"), "Value")
val colormode = ListValue("Setting Accent", arrayOf("White", "Color"), "Color")
val clickHeight = IntegerValue("Tab Height", 250, 100, 500)
val scaleValue = FloatValue("Scale", 0.70f, 0.7f, 2f)
val maxElementsValue = IntegerValue("MaxElements", 20, 1, 35)
val backgroundValue = ListValue("Background", arrayOf("Default", "Gradient", "None"), "None")
Expand All @@ -75,24 +70,14 @@ object ClickGUIModule : Module() {
val getClosePrevious = BoolValue("ClosePrevious", false)
val disp = BoolValue("DisplayValue", true)

private var lightClickGUI = LightClickGUI()
private var otcGui = OtcClickGUi()
private var novoline = ClickyUI()
private var slight = SlightUI()
private var dropdown = DropdownGUI()
private var tena = TenacityClickGUI()
private var bjur = BjurStyle()

override fun onEnable() {
when {
styleValue.get().contains("Novoline") -> mc.displayGuiScreen(novoline)
styleValue.get().contains("OneTap") -> mc.displayGuiScreen(otcGui)
styleValue.get().contains("Light") -> mc.displayGuiScreen(lightClickGUI)
styleValue.get().equals("Classic", ignoreCase = true) -> mc.displayGuiScreen(dropdown)
styleValue.get().equals("Tenacity", ignoreCase = true) -> mc.displayGuiScreen(tena)
styleValue.get().contains("Novoline") -> mc.displayGuiScreen(ClickyUI.getInstance())
styleValue.get().contains("OneTap") -> mc.displayGuiScreen(OtcClickGUi.getInstance())
styleValue.get().contains("Light") -> mc.displayGuiScreen(LightClickGUI.getInstance())
styleValue.get().equals("Classic", ignoreCase = true) -> mc.displayGuiScreen(DropdownGUI.getInstance())
styleValue.get().equals("LB+", ignoreCase = true) -> mc.displayGuiScreen(NewUi.getInstance())
styleValue.get().equals("Bjur", ignoreCase = true) -> mc.displayGuiScreen(bjur)
styleValue.get().contains("Slight") -> mc.displayGuiScreen(slight)
styleValue.get().contains("Slight") -> mc.displayGuiScreen(SlightUI.getInstance())
else -> {
updateStyle()
mc.displayGuiScreen(modernuiLaunchOption.clickGui)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,12 @@

import net.ccbluex.liquidbounce.ui.client.gui.clickgui.fonts.api.FontManager;
import net.ccbluex.liquidbounce.ui.client.gui.clickgui.fonts.impl.SimpleFontManager;
import net.ccbluex.liquidbounce.ui.client.gui.clickgui.style.styles.tenacity.SideGui.SideGui;

public class info {
public static String Name = "FDPCLIENT";

public static String version = "";
public static String username;
private final SideGui sideGui = new SideGui();
private static info INSTANCE;
public SideGui getSideGui() {
return sideGui;
}
public static info getInstance() {
if (INSTANCE == null) INSTANCE = new info();
return INSTANCE;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import net.ccbluex.liquidbounce.features.module.Module;
import net.ccbluex.liquidbounce.features.module.ModuleCategory;
import net.ccbluex.liquidbounce.features.value.*;
import net.ccbluex.liquidbounce.ui.client.gui.clickgui.style.styles.onetap.OtcClickGUi;
import net.ccbluex.liquidbounce.ui.font.Fonts;
import net.ccbluex.liquidbounce.ui.font.GameFontRenderer;
import net.ccbluex.liquidbounce.utils.render.Colors;
Expand All @@ -25,6 +26,10 @@

public class SlightUI extends GuiScreen implements GuiYesNoCallback {

private static SlightUI instance;
public static SlightUI getInstance() {
return instance == null ? instance = new SlightUI() : instance;
}
public static ModuleCategory currentModuleType = ModuleCategory.COMBAT;
public static Module currentModule = (Module) FDPClient.moduleManager.getModuleInCategory(currentModuleType).get(0);
public static float startX = 100.0F;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
package net.ccbluex.liquidbounce.ui.client.gui.clickgui.style.styles.dropdown;

import net.ccbluex.liquidbounce.features.module.ModuleCategory;
import net.ccbluex.liquidbounce.ui.client.gui.clickgui.style.styles.Slight.SlightUI;
import net.ccbluex.liquidbounce.ui.client.hud.designer.GuiHudDesigner;
import net.ccbluex.liquidbounce.utils.render.RenderUtils;
import net.minecraft.client.gui.GuiScreen;
Expand All @@ -21,6 +22,11 @@
import java.util.concurrent.CopyOnWriteArrayList;
public class DropdownGUI extends GuiScreen {

private static DropdownGUI instance;
public static DropdownGUI getInstance() {
return instance == null ? instance = new DropdownGUI() : instance;
}

private final List<Tab> tabs = new CopyOnWriteArrayList<>();
private boolean dragging;
private int dragX;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import net.ccbluex.liquidbounce.features.module.ModuleCategory;
import net.ccbluex.liquidbounce.ui.client.gui.clickgui.style.styles.light.LightSettings.InputBox;
import net.ccbluex.liquidbounce.ui.client.gui.clickgui.style.styles.light.ModuleSettings.Settings;
import net.ccbluex.liquidbounce.ui.client.gui.clickgui.style.styles.newVer.NewUi;
import net.ccbluex.liquidbounce.ui.client.hud.designer.GuiHudDesigner;
import net.ccbluex.liquidbounce.ui.font.Fonts;
import net.ccbluex.liquidbounce.utils.AnimationHelper;
Expand All @@ -29,8 +30,10 @@

public class LightClickGUI extends GuiScreen implements GuiYesNoCallback {

// light style by dg636 & opzywl

private static LightClickGUI instance;
public static LightClickGUI getInstance() {
return instance == null ? instance = new LightClickGUI() : instance;
}
private ModuleCategory currentCategory = ModuleCategory.COMBAT;
private Module currentModule = FDPClient.moduleManager.getModuleInCategory(currentCategory).get(0);
private float startX = 50, startY = 25;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import com.google.common.collect.Lists;
import net.ccbluex.liquidbounce.features.module.ModuleCategory;
import net.ccbluex.liquidbounce.ui.client.gui.clickgui.style.styles.onetap.OtcClickGUi;
import net.minecraft.client.gui.Gui;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.renderer.GlStateManager;
Expand All @@ -17,6 +18,11 @@
import java.util.ArrayList;

public class ClickyUI extends GuiScreen {

private static ClickyUI instance;
public static ClickyUI getInstance() {
return instance == null ? instance = new ClickyUI() : instance;
}
public static ArrayList<Window> windows = Lists.newArrayList();
public int scrollVelocity;
public static boolean binding;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import net.ccbluex.liquidbounce.features.module.ModuleCategory;
import net.ccbluex.liquidbounce.ui.client.gui.ClickGUIModule;
import net.ccbluex.liquidbounce.ui.client.gui.clickgui.style.styles.light.LightClickGUI;
import net.ccbluex.liquidbounce.ui.client.gui.clickgui.style.styles.onetap.Utils.OtcScroll;
import net.ccbluex.liquidbounce.ui.font.Fonts;
import net.ccbluex.liquidbounce.utils.render.RenderUtils;
Expand All @@ -16,6 +17,11 @@
import java.util.List;

public class OtcClickGUi extends GuiScreen {

private static OtcClickGUi instance;
public static OtcClickGUi getInstance() {
return instance == null ? instance = new OtcClickGUi() : instance;
}
private static float mainx;
private float x;
private static float mainy;
Expand All @@ -40,6 +46,8 @@ public OtcClickGUi() {
this.x += Fonts.fontTahoma.getStringWidth(this.newcatename(category)) + 10;
}
}



public String newcatename(final ModuleCategory moduleCategory) {
if (moduleCategory.getDisplayName().equals("Combat")) {
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 482105a

Please sign in to comment.