mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Added energy config readiness to all configurable machines, still yet to actually implement energy management
This commit is contained in:
1 parent
1bff3a93da
commit
e70650154d
13 files changed
+86
-13
No files matched your search
@@ -158,7 +158,15 @@ public class GuiSideConfiguration extends GuiMekanism
|
||||
|
||||
String title = currentType.localize() + " " + MekanismUtils.localize("gui.config");
|
||||
fontRendererObj.drawString(title, (xSize/2)-(fontRendererObj.getStringWidth(title)/2), 5, 0x404040);
|
||||
fontRendererObj.drawString(MekanismUtils.localize("gui.eject") + ": " + (configurable.getConfig().isEjecting(currentType) ? "On" : "Off"), 53, 17, 0x00CD00);
|
||||
|
||||
if(configurable.getConfig().canEject(currentType))
|
||||
{
|
||||
fontRendererObj.drawString(MekanismUtils.localize("gui.eject") + ": " + (configurable.getConfig().isEjecting(currentType) ? "On" : "Off"), 53, 17, 0x00CD00);
|
||||
}
|
||||
else {
|
||||
fontRendererObj.drawString(MekanismUtils.localize("gui.noEject"), 53, 17, 0x00CD00);
|
||||
}
|
||||
|
||||
fontRendererObj.drawString(MekanismUtils.localize("gui.slots"), 77, 81, 0x787878);
|
||||
|
||||
for(int i = 0; i < slotPosMap.size(); i++)
|
||||
|
||||
Reference in new issue
Block a user