mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
25 lines
636 B
Java
25 lines
636 B
Java
package api.hbm.energymk2;
|
|
|
|
import net.minecraft.world.IBlockAccess;
|
|
import net.minecraftforge.common.util.ForgeDirection;
|
|
|
|
/**
|
|
* Interface for all blocks that should visually connect to cables without having an IEnergyConnector tile entity.
|
|
* This is meant for BLOCKS
|
|
* @author hbm
|
|
*
|
|
*/
|
|
public interface IEnergyConnectorBlock {
|
|
|
|
/**
|
|
* Same as IEnergyConnector's method but for regular blocks that might not even have TEs. Used for rendering only!
|
|
* @param world
|
|
* @param x
|
|
* @param y
|
|
* @param z
|
|
* @param dir
|
|
* @return
|
|
*/
|
|
public boolean canConnect(IBlockAccess world, int x, int y, int z, ForgeDirection dir);
|
|
}
|