mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
18 lines
367 B
Java
18 lines
367 B
Java
package api.hbm.fluidmk2;
|
|
|
|
import com.hbm.inventory.fluid.FluidType;
|
|
|
|
import net.minecraftforge.common.util.ForgeDirection;
|
|
|
|
public interface IFluidConnectorMK2 {
|
|
|
|
/**
|
|
* Whether the given side can be connected to
|
|
* @param dir
|
|
* @return
|
|
*/
|
|
public default boolean canConnect(FluidType type, ForgeDirection dir) {
|
|
return dir != ForgeDirection.UNKNOWN;
|
|
}
|
|
}
|