getClientJarPath method

String getClientJarPath(
  1. String versionId
)

Gets the path to the Minecraft client JAR file for a specific version.

versionId The Minecraft version identifier.

Returns the absolute path to the client JAR file.

Implementation

String getClientJarPath(String versionId) {
  return _normalizePath(
    p.join(_gameDir, 'versions', versionId, '$versionId.jar'),
  );
}