9afb6d76de
Structure mods build on libraries whose structure, placement and pool element types are vanilla's with extra rules: Lithostitched's, Moog's Structure Lib's and Repurposed Structures' jigsaw structures, their advanced random spreads, versioned and ocean-bottom single pool elements. Carry rewrites them as vanilla's types; the extra rules (no start in liquid, a minimum distance from the origin) are lost, so a structure may start where the mod would not. Types with no vanilla counterpart (YUNG's, Formations', the nether variants) are left as they are and counted in the carry report. The structures' biomes name the loader's convention tags (#c:is_plains). fetch now also gets the pack's NeoForge jar from NeoForge's Maven repository, checked against its SHA-1, and carry copies the convention biome tags each mod's structures use, with those they include, into the mod. ATM10's 42 carried mods: 1,061 files rewritten, 103 convention biome tags. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
603 B
Rust
19 lines
603 B
Rust
//! Port a Java modpack to Horizon (`docs/modpacks.md`): the steps behind the
|
|
//! `horizon-port-pack` command, and the launcher's "Import modpack".
|
|
//!
|
|
//! Every step reads and writes files in a work folder (`pipeline`), so it can
|
|
//! be rerun, resumed and inspected. The work folder belongs to the user: the
|
|
//! jars they downloaded and what is carried over from them stay there and
|
|
//! are never uploaded or committed.
|
|
pub mod carry;
|
|
pub mod classify;
|
|
pub mod fetch;
|
|
pub mod import;
|
|
pub mod inventory;
|
|
pub mod jar;
|
|
pub mod modrinth;
|
|
pub mod oracle;
|
|
pub mod pipeline;
|
|
pub mod report;
|
|
pub mod worldgen;
|