public interface IEngine
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReceiveFromEngine(net.minecraftforge.common.util.ForgeDirection side)
Returns true if the engine wants to receive power from
another engine on this side.
|
int |
receiveEnergyFromEngine(net.minecraftforge.common.util.ForgeDirection side,
int energy,
boolean simulate)
Receives energy from an engine.
|
boolean canReceiveFromEngine(net.minecraftforge.common.util.ForgeDirection side)
side - int receiveEnergyFromEngine(net.minecraftforge.common.util.ForgeDirection side,
int energy,
boolean simulate)
IEnergyHandler.receiveEnergy(ForgeDirection, int, boolean)side - The side the engine is receiving energy from.energy - The amount of energy given to the engine.simulate - True if the energy should not actually be added.