Exemplo n.º 1
0
  @Override
  protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3) {
    super.drawGuiContainerBackgroundLayer(par1, par2, par3);

    // arrow
    int m = (tile.getWorkMeter() * 24) / tile.getMaxWorkMeter();
    drawTexturedModalRect(x + 84, y + 34, 176, 14, m + 1, 16);

    // flame
    int burn =
        (tile.getBurnTime() * 14) / (tile.getBurnItemTime() == 0 ? 1 : tile.getBurnItemTime());
    GuiHelper.drawModalRectFromDown(this, x + 23, y + 18, 176, 0, 16, burn, 14);
  }
Exemplo n.º 2
0
 @Override
 protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3) {
   super.drawGuiContainerBackgroundLayer(par1, par2, par3);
   renderStatusBars();
 }