18 lines
410 B
Java
18 lines
410 B
Java
package mekanism.api;
|
|
|
|
import net.minecraftforge.common.ForgeDirection;
|
|
|
|
/**
|
|
* Implement this if your block can connect to Pressurized Tubes.
|
|
* @author AidanBrady
|
|
*
|
|
*/
|
|
public interface ITubeConnection
|
|
{
|
|
/**
|
|
* Whether or not a tube can connect to a certain orientation.
|
|
* @param side - orientation to check
|
|
* @return if a tube can connect
|
|
*/
|
|
public boolean canTubeConnect(ForgeDirection side);
|
|
}
|