Function libium::get_minecraft_dir
source · pub fn get_minecraft_dir() -> PathBuf
Expand description
Get the default Minecraft instance directory based on the current compilation target_os
.
If the target_os
doesn’t match "macos"
, "linux"
, or "windows"
, this function will not compile.