static load(id, callback) {
		var filePath = jetpack.path(env.get("minecraft_home"), `assets/indexes/${id}.json`);
		if (jetpack.exists(filePath) != "file") {
			callback(new error.IntegrityMissingError(), null);
		} else {
			jsonfile.readFile(filePath, {throws: false}, (err, data) => {
				if (err) {
					callback(new error.IntegrityCorruptedError, null);
				} else {
					callback(null, new AssetIndex(id, data));
				}
			});
		}
	}
/**
	 * Load the asset index of the given id from the disk
	 *
	 * @param {String}   id       The asset version id (e.g. "1.12")
	 * @param {Function} callback (error, AssetIndex)
	 */
Load the asset index of the given id from the disk
@param {String}   id       The asset version id
@param {Function} callback (error, AssetIndex)
Load the asset index of the given id from the disk @param { String } id The asset version id @param { Function } callback ( error AssetIndex )
static load(id, callback) {
		var filePath = jetpack.path(env.get("minecraft_home"), `assets/indexes/${id}.json`);
		if (jetpack.exists(filePath) != "file") {
			callback(new error.IntegrityMissingError(), null);
		} else {
			jsonfile.readFile(filePath, {throws: false}, (err, data) => {
				if (err) {
					callback(new error.IntegrityCorruptedError, null);
				} else {
					callback(null, new AssetIndex(id, data));
				}
			});
		}
	}
static load ( id , callback ) { var filePath = jetpack . path ( env . get ( "minecraft_home" ) , ` ${ id } ` ) ; if ( jetpack . exists ( filePath ) != "file" ) { callback ( new error . IntegrityMissingError ( ) , null ) ; } else { jsonfile . readFile ( filePath , { throws : false } , ( err , data ) => { if ( err ) { callback ( new error . IntegrityCorruptedError , null ) ; } else { callback ( null , new AssetIndex ( id , data ) ) ; } } ) ; } }
Load the asset index of the given id from the disk
 @param {String}   id       The asset version id (e.g.
Load the asset index of the given id from the disk @param { String } id The asset version id ( e . g .