Create Ability Hud Editor and Remove Ability Wheel.

This commit is contained in:
Kam committed 2026-02-20 01:59:01 -05:00
1 parent 8f76e007e4
commit fc8e2e9e7f
32 files changed
+3057 -40

No files matched your search

@@ -24,10 +24,21 @@ public class GuiMenuTopButton extends GuiNpcButton {
height = 20;
}
/**
* Place to the RIGHT of the given button.
*/
public GuiMenuTopButton(int i, GuiButton parent, String s) {
this(i, parent.xPosition + parent.width, parent.yPosition, s);
}
/**
* Place to the LEFT of the given button.
*/
public GuiMenuTopButton(int i, String s, GuiButton rightNeighbor) {
this(i, rightNeighbor.xPosition - (Minecraft.getMinecraft().fontRenderer.getStringWidth(StatCollector.translateToLocal(s)) + 12),
rightNeighbor.yPosition, s);
}
public GuiMenuTopButton(int i, GuiButton parent, String s,
IButtonListener listener) {
this(i, parent, s);