some small changes

This commit is contained in:
modmuss50 2015-07-25 17:11:03 +01:00
parent c869e1656c
commit 26f63e04f7
4 changed files with 5 additions and 2 deletions

View file

@ -46,6 +46,7 @@ public class GuiCentrifuge extends GuiContainer {
}
j = centrifuge.getEnergyScaled(12);
if(j > 0) {
this.drawTexturedModalRect(k + 9, l + 32 + 12 - j, 176, 12 - j, 14, j + 2);
}

View file

@ -16,12 +16,15 @@ public class GuiIndustrialElectrolyzer extends GuiContainer {
TileIndustrialElectrolyzer eletrolyzer;
ContainerIndustrialElectrolyzer containerIndustrialElectrolyzer;
public GuiIndustrialElectrolyzer(EntityPlayer player, TileIndustrialElectrolyzer tileeletrolyzer)
{
super(new ContainerIndustrialElectrolyzer(tileeletrolyzer, player));
this.xSize = 176;
this.ySize = 167;
eletrolyzer = tileeletrolyzer;
containerIndustrialElectrolyzer = (ContainerIndustrialElectrolyzer) this.inventorySlots;
}
@Override