2013-08-27 00:49:32 +02:00
|
|
|
package mekanism.api.energy;
|
2013-03-25 17:00:45 +01:00
|
|
|
|
|
|
|
import net.minecraftforge.common.ForgeDirection;
|
|
|
|
|
2013-04-01 01:12:10 +02:00
|
|
|
/**
|
|
|
|
* Implement this if your TileEntity is capable of outputting energy to cables, overriding Mekanism's default implementation.
|
|
|
|
* @author AidanBrady
|
|
|
|
*
|
|
|
|
*/
|
2013-03-25 17:00:45 +01:00
|
|
|
public interface ICableOutputter
|
|
|
|
{
|
2013-04-01 01:12:10 +02:00
|
|
|
/**
|
|
|
|
* Whether or not this block can output to a cable on a specific side.
|
|
|
|
* @param side - side to check
|
|
|
|
* @return if the block can output
|
|
|
|
*/
|
2013-03-25 17:00:45 +01:00
|
|
|
public boolean canOutputTo(ForgeDirection side);
|
|
|
|
}
|