mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 15:46:01 +00:00
Loads of GUI/NEI work. Tomorrow I need to get overlays to render on GuiElement slots
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user