18 lines
477 B
Java
18 lines
477 B
Java
package mekanism.api.energy;
|
|
|
|
import net.minecraftforge.common.ForgeDirection;
|
|
|
|
/**
|
|
* Implement this if your TileEntity is capable of outputting energy to cables, overriding Mekanism's default implementation.
|
|
* @author AidanBrady
|
|
*
|
|
*/
|
|
public interface ICableOutputter
|
|
{
|
|
/**
|
|
* 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
|
|
*/
|
|
public boolean canOutputTo(ForgeDirection side);
|
|
}
|