diff --git a/src/main/java/mekanism/client/gui/GuiLaserAmplifier.java b/src/main/java/mekanism/client/gui/GuiLaserAmplifier.java index c1645215398..2c6408d97d0 100644 --- a/src/main/java/mekanism/client/gui/GuiLaserAmplifier.java +++ b/src/main/java/mekanism/client/gui/GuiLaserAmplifier.java @@ -1,9 +1,11 @@ package mekanism.client.gui; import java.math.BigDecimal; +import java.util.List; import mekanism.client.gui.element.gauge.GaugeType; import mekanism.client.gui.element.gauge.GuiEnergyGauge; import mekanism.client.gui.element.tab.GuiAmplifierTab; +import mekanism.client.gui.element.tab.GuiEnergyTab; import mekanism.client.gui.element.text.GuiTextField; import mekanism.common.MekanismLang; import mekanism.common.inventory.container.tile.MekanismTileContainer; @@ -34,6 +36,7 @@ public GuiLaserAmplifier(MekanismTileContainer contain protected void addGuiElements() { super.addGuiElements(); addRenderableWidget(new GuiEnergyGauge(tile.getEnergyContainer(), GaugeType.STANDARD, this, 6, 10)); + addRenderableWidget(new GuiEnergyTab(this, () -> List.of(MekanismLang.STORING.translate(EnergyDisplay.of(tile.getEnergyContainer()))))); addRenderableWidget(new GuiAmplifierTab(this, tile)); timerField = addRenderableWidget(new GuiTextField(this, 96, 28, 36, 11)); timerField.setMaxLength(4); diff --git a/src/main/java/mekanism/client/gui/element/tab/GuiAmplifierTab.java b/src/main/java/mekanism/client/gui/element/tab/GuiAmplifierTab.java index a7834d0e8f7..2bd1fc7993d 100644 --- a/src/main/java/mekanism/client/gui/element/tab/GuiAmplifierTab.java +++ b/src/main/java/mekanism/client/gui/element/tab/GuiAmplifierTab.java @@ -29,7 +29,7 @@ public class GuiAmplifierTab extends GuiInsetElement { private final Map tooltips = new EnumMap<>(RedstoneOutput.class); public GuiAmplifierTab(IGuiWrapper gui, TileEntityLaserAmplifier tile) { - super(OFF, gui, tile, -26, 138, 26, 18, true); + super(OFF, gui, tile, gui.getXSize(), 109, 26, 18, false); } @Override