Start on REI support, very basic right now, but it will help a lot when adding recipes.
This commit is contained in:
parent
a80d2183f9
commit
52da17dfd5
6 changed files with 182 additions and 1 deletions
|
@ -124,7 +124,7 @@ public class BlockCable extends BlockWithEntity {
|
|||
|
||||
private Boolean canConnectTo(IWorld world, BlockPos pos, Direction facing) {
|
||||
BlockEntity blockEntity = world.getBlockEntity(pos);
|
||||
if (blockEntity != null && (blockEntity instanceof EnergyBlockEntity)) {
|
||||
if (blockEntity != null && (blockEntity instanceof EnergyBlockEntity || blockEntity instanceof CableBlockEntity)) {
|
||||
return Boolean.TRUE;
|
||||
}
|
||||
return Boolean.FALSE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue