Mekanism-tilera-Edition/common/universalelectricity/core/block/INetworkConnection.java

27 lines
498 B
Java
Raw Normal View History

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