mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 04:09:40 +00:00
Rebase!
This commit is contained in:
1 parent
316e703b90
commit
2789545d34
567 files changed
+5211
-6296
No files matched your search
@@ -22,7 +22,7 @@ public abstract class AbstractTab extends GuiButton
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawButton(Minecraft mc, int mouseX, int mouseY)
|
||||
public void drawButton (Minecraft mc, int mouseX, int mouseY)
|
||||
{
|
||||
if (this.drawButton)
|
||||
{
|
||||
@@ -50,7 +50,7 @@ public abstract class AbstractTab extends GuiButton
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean mousePressed(Minecraft mc, int mouseX, int mouseY)
|
||||
public boolean mousePressed (Minecraft mc, int mouseX, int mouseY)
|
||||
{
|
||||
boolean inWindow = this.enabled && this.drawButton && mouseX >= this.xPosition && mouseY >= this.yPosition && mouseX < this.xPosition + this.width && mouseY < this.yPosition + this.height;
|
||||
|
||||
@@ -62,7 +62,7 @@ public abstract class AbstractTab extends GuiButton
|
||||
return inWindow;
|
||||
}
|
||||
|
||||
public abstract void onTabClicked();
|
||||
|
||||
public abstract boolean shouldAddToList();
|
||||
public abstract void onTabClicked ();
|
||||
|
||||
public abstract boolean shouldAddToList ();
|
||||
}
|
||||
Reference in new issue
Block a user