Пример #1
0
  @Override
  public int isProvidingWeakPower(IBlockAccess world, int i, int j, int k, int l) {
    Pipe pipe = getPipe(world, i, j, k);

    if (isValid(pipe)) return pipe.isIndirectlyPoweringTo(l);
    else return 0;
  }