IC2 Api Update.

This commit is contained in:
AlgorithmX2
2014-06-28 20:26:43 -05:00
parent 8dc2c04afd
commit 96b5115538
5 changed files with 83 additions and 40 deletions
+3 -3
View File
@@ -25,13 +25,13 @@ public abstract class IC2 extends MinecraftJoules6 implements IEnergySink
}
@Override
final public double demandedEnergyUnits()
final public double getDemandedEnergy()
{
return getExternalPowerDemand( PowerUnits.EU, Double.MAX_VALUE );
}
@Override
final public double injectEnergyUnits(ForgeDirection directionFrom, double amount)
final public double injectEnergy(ForgeDirection directionFrom, double amount, double voltage)
{
// just store the excess in the current block, if I return the waste,
// IC2 will just disintegrate it - Oct 20th 2013
@@ -41,7 +41,7 @@ public abstract class IC2 extends MinecraftJoules6 implements IEnergySink
}
@Override
final public int getMaxSafeInput()
final public int getSinkTier()
{
return Integer.MAX_VALUE;
}