minecraft-path
v1.0.0
Published
Get the directory where the Minecraft files are stored.
Downloads
9
Maintainers
Readme
minecraft-path
Get the directory where the Minecraft files are stored.
Install
npm install minecraft-path
Usage
const minecraftPath = require("minecraft-path");
minecraftPath();
//=> "C:\\Users\\richi\\AppData\\Roaming\\.minecraft"
minecraftPath.win10();
//=> "C:\\Users\\richi\\AppData\\Local\\Packages\\Microsoft.MinecraftUWP_8wekyb3d8bbwe\\LocalState\\games\\com.mojang"
API
minecraftPath()
Get the directory where the Minecraft Java Edition files are stored.
minecraftPath.win10()
Get the directory where the Minecraft Windows 10 Edition files are stored.