some small changes
This commit is contained in:
parent
c869e1656c
commit
26f63e04f7
4 changed files with 5 additions and 2 deletions
|
@ -46,6 +46,7 @@ public class GuiCentrifuge extends GuiContainer {
|
||||||
}
|
}
|
||||||
|
|
||||||
j = centrifuge.getEnergyScaled(12);
|
j = centrifuge.getEnergyScaled(12);
|
||||||
|
|
||||||
if(j > 0) {
|
if(j > 0) {
|
||||||
this.drawTexturedModalRect(k + 9, l + 32 + 12 - j, 176, 12 - j, 14, j + 2);
|
this.drawTexturedModalRect(k + 9, l + 32 + 12 - j, 176, 12 - j, 14, j + 2);
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,12 +16,15 @@ public class GuiIndustrialElectrolyzer extends GuiContainer {
|
||||||
|
|
||||||
TileIndustrialElectrolyzer eletrolyzer;
|
TileIndustrialElectrolyzer eletrolyzer;
|
||||||
|
|
||||||
|
ContainerIndustrialElectrolyzer containerIndustrialElectrolyzer;
|
||||||
|
|
||||||
public GuiIndustrialElectrolyzer(EntityPlayer player, TileIndustrialElectrolyzer tileeletrolyzer)
|
public GuiIndustrialElectrolyzer(EntityPlayer player, TileIndustrialElectrolyzer tileeletrolyzer)
|
||||||
{
|
{
|
||||||
super(new ContainerIndustrialElectrolyzer(tileeletrolyzer, player));
|
super(new ContainerIndustrialElectrolyzer(tileeletrolyzer, player));
|
||||||
this.xSize = 176;
|
this.xSize = 176;
|
||||||
this.ySize = 167;
|
this.ySize = 167;
|
||||||
eletrolyzer = tileeletrolyzer;
|
eletrolyzer = tileeletrolyzer;
|
||||||
|
containerIndustrialElectrolyzer = (ContainerIndustrialElectrolyzer) this.inventorySlots;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -18,7 +18,6 @@ import java.util.List;
|
||||||
|
|
||||||
public class ItemCells extends ItemTR {
|
public class ItemCells extends ItemTR {
|
||||||
|
|
||||||
//TODO recode this only using the ic2 api
|
|
||||||
public static ItemStack getCellByName(String name, int count)
|
public static ItemStack getCellByName(String name, int count)
|
||||||
{
|
{
|
||||||
Fluid fluid = FluidRegistry.getFluid("fluid" + name.toLowerCase());
|
Fluid fluid = FluidRegistry.getFluid("fluid" + name.toLowerCase());
|
||||||
|
|
|
@ -25,7 +25,7 @@ public abstract class RFProviderTile extends TileMachineBase implements IEnergyR
|
||||||
sendPower();
|
sendPower();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void sendPower() {//TODO fix this
|
public void sendPower() {
|
||||||
if (!PowerSystem.RFPOWENET) {
|
if (!PowerSystem.RFPOWENET) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue