mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Revert "Remove deprecated gas API methods"
This reverts commit c5a414df37.
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user