public static String OSX_DOCK_ICON(MinecraftDirectory minecraftDir,Version version) throws IOException {
  Set<Asset> assetIndex=Versions.resolveAssets(minecraftDir,version);
  if (assetIndex == null)   return null;
  return OSX_DOCK_ICON(minecraftDir,assetIndex);
}

public static String OSX_DOCK_ICON ( MinecraftDirectory minecraftDir , Version version ) throws IOException { Set < Asset > assetIndex = Versions . resolveAssets ( minecraftDir , version ) ; if ( assetIndex == null ) return null ; return OSX_DOCK_ICON ( minecraftDir , assetIndex ) ; }
caution : this option is available only on osx .
