mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-19 19:59:58 +00:00
16 lines
504 B
Java
16 lines
504 B
Java
package crazypants.enderio.api.redstone;
|
|
|
|
import net.minecraft.world.World;
|
|
import net.minecraftforge.common.util.ForgeDirection;
|
|
|
|
/**
|
|
* Implement this on your Block or TileEntity to control whether insulated restone conduits will automatically connect
|
|
* to your block.
|
|
* <p>
|
|
* Implementing on both is not recommended and will likely not work as expected.
|
|
*/
|
|
public interface IRedstoneConnectable {
|
|
|
|
boolean shouldRedstoneConduitConnect(World world, int x, int y, int z, ForgeDirection from);
|
|
}
|