mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
19 lines
470 B
Java
19 lines
470 B
Java
package mekanism.api;
|
|
|
|
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);
|
|
}
|