Revert "Remove deprecated gas API methods"

This reverts commit c5a414df37.
This commit is contained in:
aidancbrady committed 2016-06-30 01:03:13 -04:00
1 parent 425b43a4c4
commit b77ca6ff0c
17 files changed
+207 -1

No files matched your search

@@ -16,6 +16,9 @@ public interface IGasHandler
*/
public int receiveGas(ForgeDirection side, GasStack stack, boolean doTransfer);
@Deprecated
public int receiveGas(ForgeDirection side, GasStack stack);
/**
* Draws a certain amount of gas from this block.
* @param amount - amount to draw
@@ -23,6 +26,9 @@ public interface IGasHandler
*/
public GasStack drawGas(ForgeDirection side, int amount, boolean doTransfer);
@Deprecated
public GasStack drawGas(ForgeDirection side, int amount);
/**
* Whether or not this block can accept gas from a certain side.
* @param side - side to check