pub fn get_classpath(
version_json: &MinecraftVersionJson,
bundle: &[AssetItem],
) -> (Vec<String>, String)Expand description
Build the classpath argument pair and return the main class name.
Returns (["-cp", "<path1>:<path2>:…"], "net.minecraft.client.main.Main").
Library JARs are deduplicated by Maven artifact name: when two JARs share
the same artifact name with different versions, only the highest version is
kept. Insertion order is preserved (loader libs come first when the bundle
is built with loader-first ordering in launcher/mod.rs).
If both log4j-slf4j-impl and log4j-slf4j2-impl are present, the older
SLF4J 1.x binding is removed to prevent duplicate SLF4J binding warnings.