public interface IEngine
Modifier and Type | Method and Description |
---|---|
boolean |
canReceiveFromEngine(net.minecraft.util.EnumFacing side)
Returns true if the engine wants to receive power from another engine on this side.
|
boolean |
receivePower(long microJoules,
boolean simulate)
Receives power from an engine.
|
boolean canReceiveFromEngine(net.minecraft.util.EnumFacing side)
side
- boolean receivePower(long microJoules, boolean simulate)
microJoules
- The number of micro joules to add.simulate
- If true then just pretend you received power- don't actually change any of your internal state.IMjReceiver.receivePower(long, boolean)