<?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[Modern Hotbar SRC]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Today's publication I a modern hotbar for all skids among you.<br />
There are 2 modes - 1x wide &amp; 1x compact.</p>
<p dir="auto">In both modes, no strings have been added, instead this is conceivable.</p>
<p dir="auto">Tutorial:</p>
<ol>
<li>
<p dir="auto">Opens the class "GuiIngame.java"<br />
(Eclipse: CTRL + SHIFT + R / IntelliJ: CTRL + N)</p>
</li>
<li>
<p dir="auto">Navigates to the "func_180479_a" function<br />
(for those with better mappings it should be possible to consult the mappings (.xml file))</p>
</li>
</ol>
<p dir="auto">width Hotbar</p>
<pre><code>Code:

ScaledResolution s = new ScaledResolution(Wrapper.mc, Wrapper.mc.displayWidth, Wrapper.mc.displayHeight);
RenderUtils.drawOldRect(0, s.getScaledHeight() - 23, s.getScaledWidth(), s.getScaledHeight(), new Color(0, 0, 0, 180).hashCode());

if (Wrapper.mc.thePlayer.inventory.currentItem == 0) {
    RenderUtils.drawOldRect((s.getScaledWidth() / 2) - 91 + Wrapper.mc.thePlayer.inventory.currentItem * 20, s.getScaledHeight() - 23, (s.getScaledWidth() / 2) + 91 - 20 * 8, s.getScaledHeight(), -1);
} else {
    RenderUtils.drawOldRect((s.getScaledWidth() / 2) - 91 + Wrapper.mc.thePlayer.inventory.currentItem * 20, s.getScaledHeight() - 23, (s.getScaledWidth() / 2) + 91 - 20 * (8 - Wrapper.mc.thePlayer.inventory.currentItem), s.getScaledHeight(), -1);
}

EntityPlayer var3 = (EntityPlayer) this.mc.func_175606_aa();
RenderHelper.enableGUIStandardItemLighting();

for (int var6 = 0; var6 &lt; 9; ++var6) {
    int var7 = p_180479_1_.getScaledWidth() / 2 - 90 + var6 * 20 + 2;
    int var8 = p_180479_1_.getScaledHeight() - 16 - 3;
    this.func_175184_a(var6, var7, var8, p_180479_2_, var3);
}

RenderHelper.disableStandardItemLighting();
GlStateManager.disableRescaleNormal();
GlStateManager.disableBlend();

</code></pre>
<p dir="auto">Smal Hotbar</p>
<pre><code>ScaledResolution s = new ScaledResolution(Wrapper.mc, Wrapper.mc.displayWidth, Wrapper.mc.displayHeight);
RenderUtils.drawOldRect((s.getScaledWidth() / 2) - 91, s.getScaledHeight() - 23, (s.getScaledWidth() / 2) + 91, s.getScaledHeight(), new Color(0, 0, 0, 180).hashCode());

if (Wrapper.mc.thePlayer.inventory.currentItem == 0) {
    RenderUtils.drawOldRect((s.getScaledWidth() / 2) - 91 + Wrapper.mc.thePlayer.inventory.currentItem * 20, s.getScaledHeight() - 23, (s.getScaledWidth() / 2) + 91 - 20 * 8, s.getScaledHeight(), -1);
} else {
    RenderUtils.drawOldRect((s.getScaledWidth() / 2) - 91 + Wrapper.mc.thePlayer.inventory.currentItem * 20, s.getScaledHeight() - 23, (s.getScaledWidth() / 2) + 91 - 20 * (8 - Wrapper.mc.thePlayer.inventory.currentItem), s.getScaledHeight(), -1);
}

EntityPlayer var3 = (EntityPlayer) this.mc.func_175606_aa();
RenderHelper.enableGUIStandardItemLighting();

for (int var6 = 0; var6 &lt; 9; ++var6) {
    int var7 = p_180479_1_.getScaledWidth() / 2 - 90 + var6 * 20 + 2;
    int var8 = p_180479_1_.getScaledHeight() - 16 - 3;
    this.func_175184_a(var6, var7, var8, p_180479_2_, var3);
}

RenderHelper.disableStandardItemLighting();
GlStateManager.disableRescaleNormal();
GlStateManager.disableBlend();
</code></pre>
<p dir="auto">3.Replaces the code with the code from the respective spoiler<br />
(save the original code; would recommend a SettingsManager to be able to switch between designs if necessary)</p>
<ol start="4">
<li>Starts the client and checks that everything is working properly.<br />
(Hot swap possible with existing session, but without guarantee)</li>
</ol>
]]></description><link>https://forum.liquidbounce.net/topic/304/modern-hotbar-src</link><generator>RSS for Node</generator><lastBuildDate>Mon, 14 Sep 2026 23:19:04 GMT</lastBuildDate><atom:link href="https://forum.liquidbounce.net/topic/304.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 25 Jul 2020 23:47:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Modern Hotbar SRC on Mon, 27 Jul 2020 14:34:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marvin" aria-label="Profile: Marvin">@<bdi>Marvin</bdi></a> ??</p>
]]></description><link>https://forum.liquidbounce.net/post/1929</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/1929</guid><dc:creator><![CDATA[Teals53]]></dc:creator><pubDate>Mon, 27 Jul 2020 14:34:25 GMT</pubDate></item><item><title><![CDATA[Reply to Modern Hotbar SRC on Mon, 27 Jul 2020 03:45:25 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">no shit sherlock, but they probably wanted a screenshot of what exactly the hotbar will look like</p>
</blockquote>
]]></description><link>https://forum.liquidbounce.net/post/1907</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/1907</guid><dc:creator><![CDATA[Litely]]></dc:creator><pubDate>Mon, 27 Jul 2020 03:45:25 GMT</pubDate></item><item><title><![CDATA[Reply to Modern Hotbar SRC on Sun, 26 Jul 2020 20:23:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/teals53" aria-label="Profile: Teals53">@<bdi>Teals53</bdi></a> said in <a href="/post/1876">Modern Hotbar SRC</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/notautismatall" aria-label="Profile: notautismatall">@<bdi>notautismatall</bdi></a> maybe changing your hotbar style</p>
</blockquote>
<p dir="auto">no shit sherlock, but they probably wanted a screenshot of what exactly the hotbar will look like</p>
]]></description><link>https://forum.liquidbounce.net/post/1886</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/1886</guid><dc:creator><![CDATA[Marvin]]></dc:creator><pubDate>Sun, 26 Jul 2020 20:23:18 GMT</pubDate></item><item><title><![CDATA[Reply to Modern Hotbar SRC on Sun, 26 Jul 2020 13:59:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/notautismatall" aria-label="Profile: notautismatall">@<bdi>notautismatall</bdi></a> maybe changing your hotbar style</p>
]]></description><link>https://forum.liquidbounce.net/post/1876</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/1876</guid><dc:creator><![CDATA[Teals53]]></dc:creator><pubDate>Sun, 26 Jul 2020 13:59:00 GMT</pubDate></item><item><title><![CDATA[Reply to Modern Hotbar SRC on Sun, 26 Jul 2020 02:32:32 GMT]]></title><description><![CDATA[<p dir="auto">What does it do?</p>
]]></description><link>https://forum.liquidbounce.net/post/1849</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/1849</guid><dc:creator><![CDATA[notautismatall]]></dc:creator><pubDate>Sun, 26 Jul 2020 02:32:32 GMT</pubDate></item></channel></rss>