Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @@ -24,16 +23,16 @@ public interface IEnergyReceiver extends IEnergyConnection {
- * If TRUE, the charge will only be simulated.
- * @return Amount of energy that was (or would have been, if simulated) received.
- */
- - int receiveEnergy(EnumFacing facing, int maxReceive, boolean simulate);
- + int receiveEnergy(EnumFaceDirection from, int maxReceive, boolean simulate);
- /**
- * Returns the amount of energy currently stored.
- */
- - int getEnergyStored(EnumFacing facing);
- + int getEnergyStored(EnumFaceDirection from);
- /**
- * Returns the maximum amount of energy that can be stored.
- */
- - int getMaxEnergyStored(EnumFacing facing);
- + int getMaxEnergyStored(EnumFaceDirection from);
- }
Advertisement
Add Comment
Please, Sign In to add comment