@Override
 public void initGui() {
   this.textFieldPos = new Vector2(30, 43);
   super.initGui();
   this.buttonList.add(
       new GuiButton(
           1,
           this.width / 2 - 10,
           this.height / 2 - 28,
           58,
           20,
           LanguageUtility.getLocal("gui.deriver.derive")));
 }
  @Override
  protected void drawGuiContainerForegroundLayer(int x, int y) {
    this.fontRenderer.drawString(
        this.tileEntity.getInvName(),
        this.xSize / 2 - this.fontRenderer.getStringWidth(this.tileEntity.getInvName()) / 2,
        6,
        4210752);

    this.drawTextWithTooltip("frequency", "%1:", 8, 30, x, y);
    this.textFieldFrequency.drawTextBox();

    GL11.glPushMatrix();
    GL11.glRotatef(-90, 0, 0, 1);
    this.drawTextWithTooltip("upgrade", -95, 140, x, y);
    GL11.glPopMatrix();

    if (this.buttonList.get(1) instanceof GuiButton) {
      if (!this.tileEntity.isInversed) {
        ((GuiButton) this.buttonList.get(1)).displayString =
            LanguageUtility.getLocal("gui.deriver.derive");
      } else {
        ((GuiButton) this.buttonList.get(1)).displayString =
            LanguageUtility.getLocal("gui.deriver.integrate");
      }
    }

    this.renderUniversalDisplay(85, 30, this.tileEntity.getWattage(), x, y, Unit.WATT);
    this.fontRenderer.drawString(
        UnitDisplay.getDisplayShort(UniversalElectricity.DEFAULT_VOLTAGE, Unit.VOLTAGE),
        85,
        40,
        4210752);

    this.drawTextWithTooltip(
        "progress",
        "%1: "
            + (this.tileEntity.isActive()
                ? LanguageUtility.getLocal("gui.deriver.running")
                : LanguageUtility.getLocal("gui.deriver.idle")),
        8,
        70,
        x,
        y);
    this.drawTextWithTooltip(
        "fortron",
        "%1: " + UnitDisplay.getDisplayShort(this.tileEntity.getFortronEnergy(), Unit.LITER),
        8,
        105,
        x,
        y);

    this.fontRenderer.drawString(
        (this.tileEntity.isInversed ? "\u00a74-" : "\u00a72+")
            + UnitDisplay.getDisplayShort(this.tileEntity.getProductionRate() * 20, Unit.LITER)
            + "/s",
        118,
        117,
        4210752);

    super.drawGuiContainerForegroundLayer(x, y);
  }