classinternalinternalSource
@API(status = INTERNAL)
public final class LegacyAssets

Versions before 1.7.3 want the files under their real names

Methods

public static void reconstruct(JsonFile versionJson, LaunchConfiguration config)
Copies the downloaded asset objects to where legacy versions look for them
Parameters
versionJsonJsonFile
configLaunchConfiguration
Throws
AssetDownloadExceptionIf an asset could not be copied
public static Path resolveGameAssetsDirectory(JsonFile versionJson, LaunchConfiguration config)
Parameters
versionJsonJsonFile
configLaunchConfiguration
Returns
PathThe directory the game expects as ${game_assets}