aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces/tileentity/IBasicEnergyContainer.java
diff options
context:
space:
mode:
authorbartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>2020-03-17 19:12:19 +0100
committerbartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>2020-03-17 19:12:19 +0100
commit1922f34f1f8782f160e4808f4f6bb75a50703871 (patch)
tree6d77f9745e5e559071ae11c42bb0040c8c68706b /src/main/java/gregtech/api/interfaces/tileentity/IBasicEnergyContainer.java
parentace89f8a1937f6d4671c8677d2f86ef9fdc7a660 (diff)
downloadGT5-Unofficial-1922f34f1f8782f160e4808f4f6bb75a50703871.tar.gz
GT5-Unofficial-1922f34f1f8782f160e4808f4f6bb75a50703871.tar.bz2
GT5-Unofficial-1922f34f1f8782f160e4808f4f6bb75a50703871.zip
Refactored Interfaces
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/api/interfaces/tileentity/IBasicEnergyContainer.java')
-rw-r--r--src/main/java/gregtech/api/interfaces/tileentity/IBasicEnergyContainer.java34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/main/java/gregtech/api/interfaces/tileentity/IBasicEnergyContainer.java b/src/main/java/gregtech/api/interfaces/tileentity/IBasicEnergyContainer.java
index 423b3d4379..b795c793bc 100644
--- a/src/main/java/gregtech/api/interfaces/tileentity/IBasicEnergyContainer.java
+++ b/src/main/java/gregtech/api/interfaces/tileentity/IBasicEnergyContainer.java
@@ -9,83 +9,83 @@ public interface IBasicEnergyContainer extends IEnergyConnected {
* It is used for checking the contained Energy before consuming it.
* If this returns false, it will also give a Message inside the Scanner, that this Machine doesn't have enough Energy.
*/
- public boolean isUniversalEnergyStored(long aEnergyAmount);
+ boolean isUniversalEnergyStored(long aEnergyAmount);
/**
* Gets the stored electric, kinetic or steam Energy (with EU as reference Value)
* Always returns the largest one.
*/
- public long getUniversalEnergyStored();
+ long getUniversalEnergyStored();
/**
* Gets the largest electric, kinetic or steam Energy Capacity (with EU as reference Value)
*/
- public long getUniversalEnergyCapacity();
+ long getUniversalEnergyCapacity();
/**
* Gets the amount of Energy Packets per tick.
*/
- public long getOutputAmperage();
+ long getOutputAmperage();
/**
* Gets the Output in EU/p.
*/
- public long getOutputVoltage();
+ long getOutputVoltage();
/**
* Gets the amount of Energy Packets per tick.
*/
- public long getInputAmperage();
+ long getInputAmperage();
/**
* Gets the maximum Input in EU/p.
*/
- public long getInputVoltage();
+ long getInputVoltage();
/**
* Decreases the Amount of stored universal Energy. If ignoring too less Energy, then it just sets the Energy to 0 and returns false.
*/
- public boolean decreaseStoredEnergyUnits(long aEnergy, boolean aIgnoreTooLessEnergy);
+ boolean decreaseStoredEnergyUnits(long aEnergy, boolean aIgnoreTooLessEnergy);
/**
* Increases the Amount of stored electric Energy. If ignoring too much Energy, then the Energy Limit is just being ignored.
*/
- public boolean increaseStoredEnergyUnits(long aEnergy, boolean aIgnoreTooMuchEnergy);
+ boolean increaseStoredEnergyUnits(long aEnergy, boolean aIgnoreTooMuchEnergy);
/**
* Drain Energy Call for Electricity.
*/
- public boolean drainEnergyUnits(byte aSide, long aVoltage, long aAmperage);
+ boolean drainEnergyUnits(byte aSide, long aVoltage, long aAmperage);
/**
* returns the amount of Electricity, accepted by this Block the last 5 ticks as Average.
*/
- public long getAverageElectricInput();
+ long getAverageElectricInput();
/**
* returns the amount of Electricity, outputted by this Block the last 5 ticks as Average.
*/
- public long getAverageElectricOutput();
+ long getAverageElectricOutput();
/**
* returns the amount of electricity contained in this Block, in EU units!
*/
- public long getStoredEU();
+ long getStoredEU();
/**
* returns the amount of electricity containable in this Block, in EU units!
*/
- public long getEUCapacity();
+ long getEUCapacity();
/**
* returns the amount of Steam contained in this Block, in EU units!
*/
- public long getStoredSteam();
+ long getStoredSteam();
/**
* returns the amount of Steam containable in this Block, in EU units!
*/
- public long getSteamCapacity();
+ long getSteamCapacity();
/**
* Increases stored Energy. Energy Base Value is in EU, even though it's Steam!
@@ -96,5 +96,5 @@ public interface IBasicEnergyContainer extends IEnergyConnected {
* <p/>
* And yes, you can't directly decrease the Steam of a Machine. That is done by decreaseStoredEnergyUnits
*/
- public boolean increaseStoredSteam(long aEnergy, boolean aIgnoreTooMuchEnergy);
+ boolean increaseStoredSteam(long aEnergy, boolean aIgnoreTooMuchEnergy);
} \ No newline at end of file