<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Share My UIs &amp;&amp; Shader background]]></title><description><![CDATA[<p dir="auto"><strong>My Simple GuiMainMenu As this</strong></p>
<p dir="auto">![RJ1$~M7]~~<a href="/assets/uploads/files/1666052529736-rj1-m7-b-xf-rp1ix-e.png">B~XF(RP1IX{E.png</a><br />
<strong>My Shader</strong><br />
<a href="/assets/uploads/files/1666052601396-background.zip">background.zip</a><br />
<strong>Code</strong></p>
<pre><code>package master.koitoyuu.ui

import master.koitoyuu.ui.login.LoginButton
import master.koitoyuu.utils.Translate
import net.ccbluex.liquidbounce.ui.client.GuiBackground
import net.ccbluex.liquidbounce.ui.client.GuiModsMenu
import net.ccbluex.liquidbounce.ui.client.altmanager.GuiAltManager
import net.ccbluex.liquidbounce.ui.font.Fonts
import net.minecraft.client.gui.*
import net.minecraft.client.renderer.GlStateManager
import net.minecraft.client.resources.I18n
import net.minecraft.util.ResourceLocation
import org.lwjgl.opengl.GL11
import java.awt.Color

class MeMainMenu : GuiScreen(), GuiYesNoCallback {
    var alpha = 255
    private var currentX = 0f
    private var currentY = 0f
    var translate: Translate? = null
    var hue = 0.0f


    override fun initGui() {
        val defaultHeight = this.height / 4 + 30
        val defaultWidth = this.width / 2 - 60
        val buttonWidth = 120
        val buttonHeight = 20
        this.buttonList.add(LoginButton(0, defaultWidth, defaultHeight, buttonWidth, buttonHeight, "Single Player"))
        this.buttonList.add(LoginButton(1, defaultWidth, defaultHeight + 25, buttonWidth, buttonHeight, "Multi Player"))
        this.buttonList.add(LoginButton(2, defaultWidth, defaultHeight + 50, buttonWidth, buttonHeight, "Alt Manager"))
        this.buttonList.add(LoginButton(3, defaultWidth, defaultHeight + 75, buttonWidth, buttonHeight, "Script Manager"))
        this.buttonList.add(LoginButton(4, defaultWidth, defaultHeight + 100, buttonWidth, buttonHeight, "Back Ground"))
        this.buttonList.add(LoginButton(5, defaultWidth, defaultHeight + 125, buttonWidth, buttonHeight, "Game Options"))
        this.buttonList.add(LoginButton(6, defaultWidth, defaultHeight + 150, buttonWidth, buttonHeight, "Quit Game"))
        translate = Translate(0f, 0f)
        super.initGui()
    }

    override fun drawScreen(mouseX: Int, mouseY: Int, partialTicks: Float) {
        val defaultHeight = this.height / 4 + 30
        val defaultWidth = this.width / 2 - 60

        //ChangeInfos
        val changes = ArrayList&lt;String&gt;()
        changes.add("#221017")
        changes.add("[+] Add LoginGui")
        changes.add("[+] Add New Menu")
        changes.add("")

        drawBackground(0)
        hue += 1f
        if (hue &gt; 255.0f) {
            hue = 0.0f
        }
        translate?.interpolate(width.toFloat(), height.toFloat(), 4.0)
        val xmod2 = width / 2 - (translate!!.x / 2).toDouble()
        val ymod2 = height / 2 - (translate!!.y / 2).toDouble()
        GlStateManager.translate(xmod2, ymod2, 0.0)
        GlStateManager.scale(translate!!.x / width, translate!!.y / height, 1f)

        //ClientUpdate
        Fonts.sf40.drawStringWithShadow("Changelog:", 5f, 5f, Color(255, 255, 255, 220).rgb)
        //循环绘制info
        for (i in changes.indices) {
            Fonts.sf35.drawStringWithShadow(changes[i], 5f, 16f + i * 12, Color(255, 255, 255, 220).rgb)
        }

        super.drawScreen(mouseX, mouseY, partialTicks)
    }


    override fun actionPerformed(button: GuiButton) {
        when (button.id) {
            0 -&gt; mc.displayGuiScreen(GuiSelectWorld(this))
            1 -&gt; mc.displayGuiScreen(GuiMultiplayer(this))
            2 -&gt; mc.displayGuiScreen(GuiAltManager(this))
            3 -&gt; mc.displayGuiScreen(GuiModsMenu(this))
            4 -&gt; mc.displayGuiScreen(GuiBackground(this))
            5 -&gt; mc.displayGuiScreen(GuiOptions(this, mc.gameSettings))
            6 -&gt; mc.shutdown()
        }
    }
    override fun keyTyped(typedChar: Char, keyCode: Int) {}
}
</code></pre>
<p dir="auto"><strong>A Simple GuiLogin As this</strong>![V99ODWC52S_7@{J3{HL<a href="/assets/uploads/files/1666052671986-v99odwc52s_7-j3-hl-ze.png">{ZE.png</a></p>
<p dir="auto"><strong>My GuiLogin Shader</strong><br />
<a href="/assets/uploads/files/1666052747609-loginground.zip">loginground.zip</a></p>
<p dir="auto"><strong>Codes</strong></p>
<p dir="auto"><a href="/assets/uploads/files/1666052772956-login.zip">login.zip</a></p>
]]></description><link>https://forum.liquidbounce.net/topic/7235/share-my-uis-shader-background</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 09:20:24 GMT</lastBuildDate><atom:link href="https://forum.liquidbounce.net/topic/7235.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 Oct 2022 00:26:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Share My UIs &amp;&amp; Shader background on Thu, 01 Dec 2022 12:55:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/younkoo" aria-label="Profile: YounKoo">@<bdi>YounKoo</bdi></a> 怎么将logingui添加到mainmenu前面</p>
]]></description><link>https://forum.liquidbounce.net/post/37094</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/37094</guid><dc:creator><![CDATA[Malware]]></dc:creator><pubDate>Thu, 01 Dec 2022 12:55:25 GMT</pubDate></item><item><title><![CDATA[Reply to Share My UIs &amp;&amp; Shader background on Sat, 22 Oct 2022 16:00:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/younkoo" aria-label="Profile: YounKoo">@<bdi>YounKoo</bdi></a> thank, tip</p>
]]></description><link>https://forum.liquidbounce.net/post/36818</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/36818</guid><dc:creator><![CDATA[soicaublog]]></dc:creator><pubDate>Sat, 22 Oct 2022 16:00:38 GMT</pubDate></item><item><title><![CDATA[Reply to Share My UIs &amp;&amp; Shader background on Sat, 22 Oct 2022 09:27:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/younkoo" aria-label="Profile: YounKoo">@<bdi>YounKoo</bdi></a> 可以出一个hwid的教程吗</p>
]]></description><link>https://forum.liquidbounce.net/post/36816</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/36816</guid><dc:creator><![CDATA[wdsjxj8451]]></dc:creator><pubDate>Sat, 22 Oct 2022 09:27:10 GMT</pubDate></item></channel></rss>