2013-04-13 16:35:13 +02:00
|
|
|
package universalelectricity.core.block;
|
|
|
|
|
|
|
|
import net.minecraft.tileentity.TileEntity;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Applied to TileEntities.
|
|
|
|
*
|
|
|
|
* @author Calclavia
|
|
|
|
*
|
|
|
|
*/
|
2013-07-27 00:16:21 +02:00
|
|
|
public interface INetworkConnection extends IConnector
|
2013-04-13 16:35:13 +02:00
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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();
|
|
|
|
|
|
|
|
/**
|
2013-07-27 00:16:21 +02:00
|
|
|
* Refreshes the conductor
|
2013-04-13 16:35:13 +02:00
|
|
|
*/
|
2013-07-27 00:16:21 +02:00
|
|
|
public void refresh();
|
2013-04-13 16:35:13 +02:00
|
|
|
}
|