mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-28 07:55:41 +00:00
Soul binder now requires XP for recipes.
This commit is contained in:
1 parent
03440d5970
commit
adcbb1010b
24 files changed
+421
-42
No files matched your search
@@ -36,8 +36,9 @@ public class IconButtonEIO extends GuiButton {
|
||||
texture = IconEIO.TEXTURE;
|
||||
this.xOrigin = x;
|
||||
this.yOrigin = y;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void setToolTip(String... tooltipText) {
|
||||
if(toolTip == null) {
|
||||
toolTip = new GuiToolTip(new Rectangle(xOrigin, yOrigin, width, height), tooltipText);
|
||||
@@ -97,6 +98,9 @@ public class IconButtonEIO extends GuiButton {
|
||||
@SuppressWarnings("synthetic-access")
|
||||
@Override
|
||||
public void drawButton(Minecraft mc, int mouseX, int mouseY) {
|
||||
if(toolTip != null) {
|
||||
toolTip.setVisible(visible);
|
||||
}
|
||||
if(visible) {
|
||||
|
||||
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
||||
|
||||
Reference in new issue
Block a user