mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-17 13:13:12 +01:00
21 lines
538 B
Java
21 lines
538 B
Java
package cofh.api.energy;
|
|
|
|
import net.minecraft.util.EnumFacing;
|
|
|
|
/**
|
|
* Implement this interface on TileEntities which should connect to energy transportation blocks. This is intended for blocks which generate energy but do not
|
|
* accept it; otherwise just use IEnergyHandler.
|
|
* <p>
|
|
* Note that {@link IEnergyHandler} is an extension of this.
|
|
*
|
|
* @author King Lemming
|
|
*
|
|
*/
|
|
public interface IEnergyConnection {
|
|
|
|
/**
|
|
* Returns TRUE if the TileEntity can connect on a given side.
|
|
*/
|
|
boolean canConnectEnergy(EnumFacing from);
|
|
|
|
}
|