Mcpath

Latest version: v2.0.0

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.0.0

General

- If a path doesn't exist, it will return None.
- Rewrote package structure.
- Example using the new structure.

py
import mcpath

mcpath.bedrock.get_worlds_dir() ...\\com.mojang\\minecraftWorlds
mcpath.java.get_backups_dir() ...\\.minecraft\\backups

mcpath.java.get_runtime('1.21.3') ...\\java-runtime-delta\\bin\\java.exe

1.1.0

General

- Added `executable` and `launcher` paths
- Added `get_runtime` function to get the java runtime executable.
- Added support for bedrock on linux and iOS.
- Renamed `root` to `game` which goes to the .minecraft or com.mojang directory.
- Java Edition on Windows, linux, and macOS will now read launcher_profiles.json to get the game directory.
- Bedrock Edition on linux will now check profiles.ini to get the game directory.

1.0.0

General

- Initial commit

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.