public static boolean isDirectlyGettingPowered(World world,Coord4D coord){
  for (  ForgeDirection side : ForgeDirection.VALID_DIRECTIONS) {
    Coord4D sideCoord=coord.getFromSide(side);
    if (sideCoord.exists(world)) {
      if (world.isBlockProvidingPowerTo(coord.xCoord,coord.yCoord,coord.zCoord,side.ordinal()) > 0) {
        return true;
      }
    }
  }
  return false;
}

public static boolean isDirectlyGettingPowered ( World world , Coord4D coord ) { for ( ForgeDirection side : ForgeDirection . VALID_DIRECTIONS ) { Coord4D sideCoord = coord . getFromSide ( side ) ; if ( sideCoord . exists ( world ) ) { if ( world . isBlockProvidingPowerTo ( coord . xCoord , coord . yCoord , coord . zCoord , side . ordinal ( ) ) > 0 ) { return true ; } } } return false ; }
checks if a block is directly getting powered by any of its neighbors without loading any chunks .
