src/base/gcewing/sg/BaseBlockUtils.java
/*
     *   Test whether a block is receiving a redstone signal from a source
     *   other than itself. For blocks that can both send and receive in
     *   any direction.
     */
Test whether a block is receiving a redstone signal from a source
other than itself. For blocks that can both send and receive in
any direction.
Test whether a block is receiving a redstone signal from a source other than itself . For blocks that can both send and receive in any direction .
public static boolean blockIsGettingExternallyPowered(World world, BlockPos pos) {
        for (EnumFacing side : facings) {
            if (isPoweringSide(world, pos.offset(side), side))
                    return true;
        }
        return false;
    }
public static boolean blockIsGettingExternallyPowered ( World world , BlockPos pos ) { for ( EnumFacing side : facings ) { if ( isPoweringSide ( world , pos . offset ( side ) , side ) ) return true ; } return false ; }
Test whether a block is receiving a redstone signal from a source
   other than itself.
Test whether a block is receiving a redstone signal from a source other than itself .