2013-08-27 00:49:32 +02:00
|
|
|
package mekanism.api.gas;
|
2013-02-22 04:03:54 +01:00
|
|
|
|
|
|
|
import net.minecraftforge.common.ForgeDirection;
|
|
|
|
|
2013-04-01 01:12:10 +02:00
|
|
|
/**
|
|
|
|
* Implement this if your block can connect to Pressurized Tubes.
|
|
|
|
* @author AidanBrady
|
|
|
|
*
|
|
|
|
*/
|
2013-02-22 04:03:54 +01:00
|
|
|
public interface ITubeConnection
|
|
|
|
{
|
2013-02-25 21:02:05 +01:00
|
|
|
/**
|
|
|
|
* Whether or not a tube can connect to a certain orientation.
|
|
|
|
* @param side - orientation to check
|
|
|
|
* @return if a tube can connect
|
|
|
|
*/
|
2013-02-22 04:03:54 +01:00
|
|
|
public boolean canTubeConnect(ForgeDirection side);
|
|
|
|
}
|