resonant-induction/APIs/universalelectricity/core/block/INetworkConnection.java
2013-07-22 01:20:20 -04:00

26 lines
498 B
Java

package universalelectricity.core.block;
import net.minecraft.tileentity.TileEntity;
/**
* Applied to TileEntities.
*
* @author Calclavia
*
*/
public interface INetworkConnection extends IConnector
{
/**
* Gets a list of all the connected TileEntities that this conductor is connected to. The
* array's length should be always the 6 adjacent wires.
*
* @return
*/
public TileEntity[] getAdjacentConnections();
/**
* Refreshes the conductor
*/
public void refresh();
}