コード例 #1
0
  @Override
  public int isProvidingStrongPower(IBlockAccess world, int x, int y, int z, int side) {
    TileEntityOutput te = getTileEntity(world, x, y, z);
    if (te != null && te.hasStrongSignalAtOppositeSide(side)) {
      return te.getStrengthFromOppositeSide(side);
    }

    return 0;
  }