Prepare: import Programmer Art and High Contrast from the asset index
Vanilla lists its built-in resource packs from minecraft:resourcepacks of
the vanilla pack (BuiltInPackSource.populatePackList), and those two zips
live only in the asset index, not in the client JAR. Preparation never
copied them, so Horizon's pack list had no Programmer Art. Packs made to sit
on it, like Golden Days ("This pack is meant to be put over Programmer
Art"), then showed the modern textures for the ~720 textures they leave to
it: furnaces, stone bricks, crafting tables, pumpkins, TNT, logs, tools,
buckets, paper.
Full preparation now imports both after extracting the JAR, like the
panorama and Unifont, and `horizon-prepare packs` adds them to prepared
resources.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,8 @@ screen (the same screen as vanilla's) or in game, and every loader reloads from
|
||||
## How it works
|
||||
|
||||
`packs.rs` finds the packs (`FolderRepositorySource`: folders and zips, plus the built-in Programmer Art and High
|
||||
Contrast), reads `pack.mcmeta` (format range, overlays, filters) and builds one overlay directory that layers the
|
||||
Contrast, which only the asset index holds: preparation copies them, `horizon-prepare packs` repairs older resources),
|
||||
reads `pack.mcmeta` (format range, overlays, filters) and builds one overlay directory that layers the
|
||||
selected packs over the prepared vanilla resources, later packs winning. Files vanilla reads as a resource *stack*
|
||||
(language files, `sounds.json`, font definitions, atlas definitions) are merged layer by layer as vanilla merges them.
|
||||
Every loader then reads that one tree; `game/packs.rs` (`reload_packs`) reloads all of them in game, as
|
||||
|
||||
Reference in New Issue
Block a user