Item Nodes can now be disabled by a (weak) redstone signal

This commit is contained in:
WayofTime 2016-06-26 12:51:25 -04:00
parent adc100ee17
commit 587e94d197
4 changed files with 44 additions and 14 deletions

View file

@ -41,6 +41,12 @@ public abstract class BlockRoutingNode extends BlockContainer
this.setDefaultState(this.blockState.getBaseState().withProperty(DOWN, false).withProperty(UP, false).withProperty(NORTH, false).withProperty(EAST, false).withProperty(SOUTH, false).withProperty(WEST, false));
}
@Override
public boolean canConnectRedstone(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing side)
{
return true;
}
@Override
public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos)
{