@API(status = INTERNAL)
public final class LegacyAssetsVersions before 1.7.3 want the files under their real names
Methods
void reconstruct(JsonFile, LaunchConfiguration)Copies the downloaded asset objects to where legacy versions look for themPath resolveGameAssetsDirectory(JsonFile, LaunchConfiguration)public static void reconstruct(JsonFile versionJson, LaunchConfiguration config)Copies the downloaded asset objects to where legacy versions look for them
| Parameters | ||
|---|---|---|
versionJson | JsonFile | |
config | LaunchConfiguration | |
| Throws | ||
AssetDownloadException | If an asset could not be copied | |
public static Path resolveGameAssetsDirectory(JsonFile versionJson, LaunchConfiguration config)| Parameters | ||
|---|---|---|
versionJson | JsonFile | |
config | LaunchConfiguration | |
| Returns | ||
Path | The directory the game expects as ${game_assets} | |