Added Description to Lite Main Menu

This commit is contained in:
kirillsaint 2023-08-06 15:00:46 +06:00
parent 3d83f14faa
commit 0d1dc4f7ed

View File

@ -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) {