mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
19 lines
410 B
Java
19 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);
|
|
}
|