diff --git a/src/main/java/techreborn/client/gui/GuiChemicalReactor.java b/src/main/java/techreborn/client/gui/GuiChemicalReactor.java index bc5ecd9e5..447e4f995 100644 --- a/src/main/java/techreborn/client/gui/GuiChemicalReactor.java +++ b/src/main/java/techreborn/client/gui/GuiChemicalReactor.java @@ -38,6 +38,18 @@ public class GuiChemicalReactor extends GuiContainer { int l = (this.height - this.ySize) / 2; this.drawTexturedModalRect(k, l, 0, 0, this.xSize, this.ySize); + int j = 0; + + if(chemicalReactor.crafter.currentRecipe != null) { + j = this.chemicalReactor.crafter.currentTickTime * 11 / this.chemicalReactor.crafter.currentRecipe.tickTime(); + } + this.drawTexturedModalRect(k + 73, l + 39, 177, 15, 30, j); + + j = (int)this.chemicalReactor.energy.getEnergyStored() * 12 / this.chemicalReactor.energy.getCapacity(); + if(j > 0) { + this.drawTexturedModalRect(k + 9, l + 32 + 12 - j, 176, 12 - j, 14, j + 2); + } + } protected void drawGuiContainerForegroundLayer(int p_146979_1_, int p_146979_2_) { diff --git a/src/main/resources/assets/techreborn/textures/gui/chemical_reactor.png b/src/main/resources/assets/techreborn/textures/gui/chemical_reactor.png index 6fb094fbf..67677b473 100644 Binary files a/src/main/resources/assets/techreborn/textures/gui/chemical_reactor.png and b/src/main/resources/assets/techreborn/textures/gui/chemical_reactor.png differ