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

Reference

  • Reference
    • Platforms
    • Modpacks
      • load
      • Modpack
      • PackEntry
      • FileRef
      • PackFormat
      • register
      • safe_relative
      • Mrpack
      • CurseForgePack
      • Side
      • Support
    • Mod loaders
    • Instances
    • Minecraft
    • Java
    • Launcher
    • Network
    • Progress
    • Errors
Reference Modpacks

funcload#

load(
path: Path | str,
) → Modpack#

Read a modpack archive. Needs no network and no API key.

Parameters:

path (Path | str) โ€“ The archive.

Returns:

The modpack. CurseForge packs still need Platform.resolve.

Raises:
  • PackError โ€“ The archive is invalid or its format is unknown.

  • UnsupportedError โ€“ The pack is for another game.

Return type:

Modpack

PreviousModpacksNextModpack

On this page

  • load
    • load()

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