Loads of GUI/NEI work. Tomorrow I need to get overlays to render on GuiElement slots

This commit is contained in:
Aidan C. Brady committed 2014-06-15 02:22:55 +02:00
1 parent 3a81058cbd
commit f2b914e216
27 files changed
+320 -65

No files matched your search

@@ -1,5 +1,6 @@
package mekanism.client.gui;
import codechicken.lib.vec.Rectangle4i;
import mekanism.api.Coord4D;
import mekanism.client.sound.SoundHandler;
import mekanism.common.IRedstoneControl;
@@ -21,6 +22,12 @@ public class GuiRedstoneControl extends GuiElement
tileEntity = tile;
}
@Override
public Rectangle4i getBounds(int guiWidth, int guiHeight)
{
return new Rectangle4i(guiWidth + 176, guiHeight + 138, 26, 26);
}
@Override
public void renderBackground(int xAxis, int yAxis, int guiWidth, int guiHeight)