aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java
diff options
context:
space:
mode:
authorYannickMG <yannickmg@gmail.com>2022-07-01 19:13:43 -0400
committerGitHub <noreply@github.com>2022-07-02 00:13:43 +0100
commite7eaa051f2725501436ac31f880746a9dc2f1465 (patch)
tree7fc74410cc795d855913cf590c75574b2834b222 /src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java
parentf7bdbd14a6f5e8fb4e5af0010b4cfcae3282feee (diff)
downloadGT5-Unofficial-e7eaa051f2725501436ac31f880746a9dc2f1465.tar.gz
GT5-Unofficial-e7eaa051f2725501436ac31f880746a9dc2f1465.tar.bz2
GT5-Unofficial-e7eaa051f2725501436ac31f880746a9dc2f1465.zip
Par, var, begone! (#1104)
* Renamed parameters of ItemBlock subclasses * Renamed damageDropped and getDamageValue method parameters of Block subclasses * Removed trivially superfluous overrides of Block::quantityDropped, Block::isOpaqueCube and Block::renderAsNormalBlock * Removed trivially superfluous overrides of Block::getItemDropped * Cleaned up a few more block subclass method parameters * Cleaned up obsolete Javadoc * par1 -> block in ItemBlock Constructors * Renamed arguments to drawGuiContainerForegroundLayer * Cleaned up redundant casts * Renamed arguments to drawGuiContainerBackgroundLayer * Renamed arguments to Slot subclass constructors * Renamed arguments to World subclass GT_DummyWorld * Renamed parameters of updateProgressBar * Renamed the rest of the par* parameters outside of GT_MinableOreGenerator which should be deleted * Renamed most var1-var10 and a few more in generally non-dead code * Renamed last varSomething variables * Removed 3 fully dead classes used nowhere in the codebase, with obsolete unused code
Diffstat (limited to 'src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java')
-rw-r--r--src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java b/src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java
index 0e94990a99..6c28653c0f 100644
--- a/src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java
+++ b/src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java
@@ -20,13 +20,13 @@ public class GT_GUIContainer_4by4 extends GT_GUIContainerMetaTile_Machine {
}
@Override
- protected void drawGuiContainerForegroundLayer(int par1, int par2) {
+ protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
fontRendererObj.drawString(mName, 8, 4, 4210752);
}
@Override
- protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3) {
- super.drawGuiContainerBackgroundLayer(par1, par2, par3);
+ protected void drawGuiContainerBackgroundLayer(float parTicks, int mouseX, int mouseY) {
+ super.drawGuiContainerBackgroundLayer(parTicks, mouseX, mouseY);
int x = (width - xSize) / 2;
int y = (height - ySize) / 2;
drawTexturedModalRect(x, y, 0, 0, xSize, ySize);