Files
EnderIO/src/main/java/crazypants/enderio/api/redstone/IRedstoneConnectable.java
T

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);
}