[PR #518] [MERGED] Modpacks design: port any pack, with ATM10's real mod list classified #2617

Closed
opened 2026-11-02 15:57:40 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/518
Author: @ludovic111
Created: 10/16/2026
Status: ✅ Merged
Merged: 10/16/2026
Merged by: @ludovic111

Base: main ← Head: docs/modpacks


📝 Commits (1)

  • a06367e docs: modpacks design, with ATM10's real mod list classified

📊 Changes

4 files changed (+952 additions, -0 deletions)

View changed files

📝 docs/README.md (+1 -0)
➕ docs/modpacks.md (+450 -0)
➕ docs/modpacks/atm10-mods.csv (+496 -0)
📝 docs/mods.md (+5 -0)

📄 Description

What

  • docs/modpacks.md, the design for bringing any modpack to Horizon. It covers:
    • pack import (.mrpack, CurseForge zip or installed instance, Prism, packwiz);
    • inventory and classification, and dependency order (libraries first);
    • mechanical carry-over of data and assets, with an upgrade from the pack's MC version to 26.3;
    • one agent per mod for the code (Rust → WASM), each checked by a per-mod harness against a dev-only NeoForge/Fabric oracle;
    • the coverage report, licence handling, and how "10x" is measured against NeoForge;
    • the scope for the 2026-10-23 working version.
  • docs/modpacks/atm10-mods.csv: ATM10's real mod list, one row per mod with class, API tier, licence and sides. Metadata only.
  • docs/mods.md and docs/README.md link the new page.

ATM10, measured

  • Source: the pack's own config/crash_assistant/modlist.json in AllTheMods/ATM-10 (committed 2026-10-15). ATM10 8.x is MC 1.21.1 on NeoForge 21.1.259, with 495 jars plus 1 datapack.
  • Metadata: Modrinth resolved 321 jars by SHA-1 and its name search found 70 more. The other 104 are CurseForge-only (its API needs a key), so they were classified by name; 20 rows are marked guess. No jars were downloaded.
Class Count Tier Count
content 287 data (registries + carry-over, no code) 68
library 80 logic (behaviour callbacks, server events) 72
integration 44 machines (block entities, menus, capabilities, net) 101
client-ui 32 deep (entities, renderers, dimensions, new hooks) 91
other (pack tooling, shaders, CTM) 25 client (client API) 38
performance 16 none (not ported) 125
server-only 11

Licences: 167 permissive, 92 copyleft, 89 All Rights Reserved, 29 custom, 14 non-commercial or no-derivatives, and 104 unknown. The unknown ones are the CurseForge-only mods; their licence is read from the jar's mods.toml at import.

Key design decisions

  • Registries 0.2 are data plus templates.
    • A block names a vanilla template block, whose behaviour class, states and shapes it takes, plus overrides.
    • Mod content becomes one more overlay layer on the existing resource-pack overlay root: per-state tables get rows appended, cloned from the template.
    • The game's loaders don't change, vanilla state ids don't move, and with no mods the root is vanilla, so parity is untouched.
  • Registrations and final pack data come from the oracle, not from reading code.
    • The facts exporters Horizon already runs on vanilla run on the modded game.
    • The final recipe, tag and loot registries are exported after KubeJS and Almost Unified have run, so pack scripts are never translated.
  • Local by default.
    • Mod jars, decompiled code and ports never enter the repo.
    • Publishing needs a licence that allows it or the author's permission; the tooling refuses anything else.

Needs Ludovic

  • Whether to contact any authors (none contacted) and whether ports may ever be published.
  • Whether players should run code-port agents themselves or only download ports.
  • A CurseForge API key for the launcher, which CurseForge grants on request. Until then, CurseForge packs import from an installed instance.

How tested

Docs only. python3 tools/check_public_tree.py passes and the markdown table shapes were checked. Counts were recomputed from the CSV.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/518 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/16/2026 **Status:** ✅ Merged **Merged:** 10/16/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `docs/modpacks` --- ### 📝 Commits (1) - [`a06367e`](https://github.com/horizon-rust/horizon/commit/a06367edf18380e36fda9879cced3e8f0d7789b3) docs: modpacks design, with ATM10's real mod list classified ### 📊 Changes **4 files changed** (+952 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/README.md` (+1 -0) ➕ `docs/modpacks.md` (+450 -0) ➕ `docs/modpacks/atm10-mods.csv` (+496 -0) 📝 `docs/mods.md` (+5 -0) </details> ### 📄 Description ## What - **`docs/modpacks.md`**, the design for bringing any modpack to Horizon. It covers: - pack import (`.mrpack`, CurseForge zip or installed instance, Prism, packwiz); - inventory and classification, and dependency order (libraries first); - mechanical carry-over of data and assets, with an upgrade from the pack's MC version to 26.3; - one agent per mod for the code (Rust → WASM), each checked by a per-mod harness against a dev-only NeoForge/Fabric oracle; - the coverage report, licence handling, and how "10x" is measured against NeoForge; - the scope for the 2026-10-23 working version. - **`docs/modpacks/atm10-mods.csv`**: ATM10's real mod list, one row per mod with class, API tier, licence and sides. Metadata only. - `docs/mods.md` and `docs/README.md` link the new page. ## ATM10, measured - **Source:** the pack's own `config/crash_assistant/modlist.json` in AllTheMods/ATM-10 (committed 2026-10-15). ATM10 8.x is MC 1.21.1 on NeoForge 21.1.259, with 495 jars plus 1 datapack. - **Metadata:** Modrinth resolved 321 jars by SHA-1 and its name search found 70 more. The other 104 are CurseForge-only (its API needs a key), so they were classified by name; 20 rows are marked `guess`. No jars were downloaded. | Class | Count | Tier | Count | |---|---:|---|---:| | content | 287 | data (registries + carry-over, no code) | 68 | | library | 80 | logic (behaviour callbacks, server events) | 72 | | integration | 44 | machines (block entities, menus, capabilities, net) | 101 | | client-ui | 32 | deep (entities, renderers, dimensions, new hooks) | 91 | | other (pack tooling, shaders, CTM) | 25 | client (client API) | 38 | | performance | 16 | none (not ported) | 125 | | server-only | 11 | | | **Licences:** 167 permissive, 92 copyleft, 89 All Rights Reserved, 29 custom, 14 non-commercial or no-derivatives, and 104 unknown. The unknown ones are the CurseForge-only mods; their licence is read from the jar's `mods.toml` at import. ## Key design decisions - **Registries 0.2 are data plus templates.** - A block names a vanilla template block, whose behaviour class, states and shapes it takes, plus overrides. - Mod content becomes one more overlay layer on the existing resource-pack overlay root: per-state tables get rows appended, cloned from the template. - The game's loaders don't change, vanilla state ids don't move, and with no mods the root is vanilla, so parity is untouched. - **Registrations and final pack data come from the oracle, not from reading code.** - The facts exporters Horizon already runs on vanilla run on the modded game. - The final recipe, tag and loot registries are exported after KubeJS and Almost Unified have run, so pack scripts are never translated. - **Local by default.** - Mod jars, decompiled code and ports never enter the repo. - Publishing needs a licence that allows it or the author's permission; the tooling refuses anything else. ## Needs Ludovic - Whether to contact any authors (none contacted) and whether ports may ever be published. - Whether players should run code-port agents themselves or only download ports. - A CurseForge API key for the launcher, which CurseForge grants on request. Until then, CurseForge packs import from an installed instance. ## How tested Docs only. `python3 tools/check_public_tree.py` passes and the markdown table shapes were checked. Counts were recomputed from the CSV. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:57:40 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2617
No description provided.