Carry: the namespaces a mod's own files name, as its manifest's namespaces
Towns and Towers ships its 60 structures under kaisyn and towns_and_towers, not its mod id t_and_t, so carry left them outside. A namespace is now the mod's when its own files (its id's, its tag additions, the namespaces already claimed) name ids in it and no mod of the pack has it as its id. Compat files for other mods and pack mods' configs stay outside; of ATM10's 42 jars only T&T claims any. A replacing tag of its own is an addition. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+13
-4
@@ -489,6 +489,17 @@ Two cases the oracle fills in:
|
||||
from the template's origin along one axis, and a world height range. The game runs them
|
||||
as `horizon:matter_phase`, `horizon:piece_origin_axis_aligned_linear_pos` and
|
||||
`horizon:y_value` with the mod's fields, and carry renames them (213 in 75 lists).
|
||||
- **Namespaces besides the mod id.** Towns and Towers (mod id `t_and_t`) ships all 60 of its
|
||||
structures under `kaisyn` and `towns_and_towers`, which carry used to leave in `outside/`.
|
||||
Carry now claims a namespace for the mod when the mod's own files (its id's, its tag
|
||||
additions and the namespaces already claimed) name ids in it, and no mod of the pack has
|
||||
it as its id; it lists them in the manifest's `namespaces` (docs/mods.md). Files for mods
|
||||
it supports (CTOV's `wares` and `monobank`, YUNG's `morevillagers` tags) and configs of
|
||||
pack mods (`cristellib`) stay outside: of ATM10's 42 jars only T&T claims any. A tag of a
|
||||
mod's own namespace that `replace`s is carried as an addition (no pack before it defines
|
||||
it). In the 128×128-chunk square T&T has 7 starts at seed 1234 (its ocean wreckages, an
|
||||
ocean village and outpost) and 7 at seed 2 (forest and snowy taiga villages, snowy
|
||||
outposts), from none.
|
||||
- **Renamed ids.** 26.3 calls 1.21.1's chain the iron chain (its datafixers rename it in
|
||||
worlds). Carry renames it in recipes, loot tables and worldgen files (112 files in 5 mods:
|
||||
Repurposed's mineshafts, Better Dungeons' processors, Regions Unexplored's hanging sign
|
||||
@@ -547,10 +558,8 @@ Two cases the oracle fills in:
|
||||
(unchanged), and no pool that fails to decode (65 before #816 in the 64×64 centre).
|
||||
- 1,061 files were mapped (MVS 413, MNS 210, MSS 157, MES 110, Repurposed Structures 104,
|
||||
ChoiceTheorem's Overhauled Village 66), and 103 convention biome tags written.
|
||||
- When Dungeons Arise and Structory use vanilla's types already. Towns and Towers does too,
|
||||
but its 1,198 worldgen files sit under the `kaisyn` and `towns_and_towers` namespaces, not
|
||||
its mod id `t_and_t`, and a mod's content may only use its own namespace (docs/mods.md), so
|
||||
carry leaves them out and its 60 structures are missing.
|
||||
- When Dungeons Arise, Structory and Towns and Towers use vanilla's types already (T&T's
|
||||
namespaces are carried since the namespaces rule above).
|
||||
- Still lost, written in Java:
|
||||
- Formations' structure and element types (179): their placements read block states in the
|
||||
noise column (solid, water, lava), which the structure context doesn't give yet;
|
||||
|
||||
Reference in New Issue
Block a user