Hbm-s-Nuclear-Tech-GIT/src/main/java/api/hbm/energymk2/IEnergyConnectorMK2.java
2024-04-09 16:55:53 +02:00

17 lines
393 B
Java

package api.hbm.energymk2;
import net.minecraftforge.common.util.ForgeDirection;
public interface IEnergyConnectorMK2 {
/**
* Whether the given side can be connected to
* dir refers to the side of this block, not the connecting block doing the check
* @param dir
* @return
*/
public default boolean canConnect(ForgeDirection dir) {
return dir != ForgeDirection.UNKNOWN;
}
}