Fixed firebox electrical usage and pick block

This commit is contained in:
Calclavia 2014-01-31 19:55:23 +08:00
parent 4d0e45c3c7
commit 510135601e
2 changed files with 8 additions and 2 deletions

View file

@ -147,6 +147,12 @@ public class BlockFirebox extends BlockRI
return 0;
}
@Override
public int damageDropped(int par1)
{
return par1;
}
@Override
public void getSubBlocks(int par1, CreativeTabs par2CreativeTabs, List par3List)
{

View file

@ -56,7 +56,7 @@ public class TileFirebox extends TileElectricalInventory implements IPacketSende
public TileFirebox()
{
energy = new EnergyStorageHandler(POWER * 4, POWER * 2);
energy = new EnergyStorageHandler(POWER * 2, POWER / 20);
setIO(ForgeDirection.UP, 0);
}
@ -68,7 +68,7 @@ public class TileFirebox extends TileElectricalInventory implements IPacketSende
if (energy.checkExtract())
{
energy.extractEnergy();
burnTime += 2;
burnTime += 1;
}
else if (canBurn(this.getStackInSlot(0)))
{