From 0d1dc4f7ed005ce116c125302b491318d0518894 Mon Sep 17 00:00:00 2001 From: kirillsaint Date: Sun, 6 Aug 2023 15:00:46 +0600 Subject: [PATCH] Added Description to Lite Main Menu --- .../net/silentclient/client/gui/lite/LiteMainMenu.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/silentclient/client/gui/lite/LiteMainMenu.java b/src/main/java/net/silentclient/client/gui/lite/LiteMainMenu.java index 63d69c0..d848b47 100644 --- a/src/main/java/net/silentclient/client/gui/lite/LiteMainMenu.java +++ b/src/main/java/net/silentclient/client/gui/lite/LiteMainMenu.java @@ -12,7 +12,9 @@ import net.silentclient.client.gui.font.SilentFontRenderer; import net.silentclient.client.gui.lite.clickgui.utils.MouseUtils; import net.silentclient.client.gui.silentmainmenu.MainMenuConcept; import net.silentclient.client.gui.util.RenderUtil; +import net.silentclient.client.utils.ColorUtils; +import java.awt.*; import java.io.IOException; import java.net.URI; @@ -36,7 +38,7 @@ public class LiteMainMenu extends GuiScreen int buttonY = this.height / 2 - 18; if(buttonY - 90 > 50) { - buttonY = 110; + buttonY = 120; } this.buttonList.add(new Button(6, this.width / 2 - 90, buttonY, 180, 18, "Singleplayer")); @@ -55,7 +57,10 @@ public class LiteMainMenu extends GuiScreen this.drawGradientRect(0, 0, this.width, this.height, 0, Integer.MIN_VALUE); RenderUtil.drawImage(new ResourceLocation("silentclient/logos/menu_logo.png"), this.width / 2 - 80, 20, 160, 70); + ColorUtils.setColor(new Color(115, 117, 119).getRGB()); + Client.getInstance().getSilentFontRenderer().drawCenteredString("The most complete all-in-one mod library for Minecraft", this.width / 2, 87, 10, SilentFontRenderer.FontType.TITLE); + ColorUtils.setColor(-1); Client.getInstance().getSilentFontRenderer().drawString(3, height - 14, "SLC Lite 1.8.9", 12, SilentFontRenderer.FontType.TITLE); if(GuiNews.imageLocation != null) {