mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 01:02:19 +00:00
Create Ability Hud Editor and Remove Ability Wheel.
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user