Modsmith v0.1.1
Get started Guides Concepts Reference Help
/
PaPa-jun/Modsmith

Reference

  • Reference
    • Platforms
    • Modpacks
    • Mod loaders
    • Instances
    • Minecraft
    • Java
      • find
      • find_all
      • download
      • required_for
      • JavaRuntime
      • official_runtime_dirs
      • platform_key
    • Launcher
    • Network
    • Progress
    • Errors
Reference Java

funcfind_all#

find_all(
*,
game: GameDir | None = None,
cache_dir: Path | None = None,
) → list[JavaRuntime]#

Find every known runtime that is installed, in order of preference.

Parameters:
  • game (GameDir | None) – The game directory. Defaults to GameDir.default.

  • cache_dir (Path | None) – The cache directory. Defaults to the per-user cache.

Returns:

The runtimes found.

Return type:

list[JavaRuntime]

PreviousfindNextdownload

On this page

  • find_all
    • find_all()

Copyright © 2026 MeNeither
Released under the MIT License. Built with Sphinx.