Build-Pack: tweak jars default to side=server (urgent client fix) #36

Merged
Matt merged 1 commits from fix/tweak-jars-server-only into main 2026-05-23 17:40:35 +00:00
Owner

Fixes client crash: brassandsigil_tweaks was being downloaded by clients but its lithostitched dep is server-only. Tag tweak jars as server. Pack 0.22.2 -> 0.22.3.

Fixes client crash: brassandsigil_tweaks was being downloaded by clients but its lithostitched dep is server-only. Tag tweak jars as server. Pack 0.22.2 -> 0.22.3.
Matt added 1 commit 2026-05-23 17:40:35 +00:00
URGENT client-side fix. brassandsigil_tweaks-1.0.0.jar (built from
pack/tweaks/ into pack/overrides/mods/) declares lithostitched as a
hard dependency in its mods.toml. lithostitched is tagged side=server
in the lockfile because it's worldgen-only. brassandsigil_tweaks had
no explicit side tag so Build-Pack defaulted it to side=both. Clients
downloaded the tweak jar but not the dep -> NeoForge refused to start
with 'Mod brassandsigil_tweaks requires lithostitched 1.7 or above'.

Fix: Build-Pack now injects side='server' on any local-override file
under mods/. All tweak jars are data-only (worldgen modifiers, recipe
overrides) and pure server-side. If a future tweak is actually client-
relevant, this rule will need a per-file exception.

Tested in build output -- the brassandsigil_tweaks entry now shows
side='server' in the generated manifest.
Matt merged commit 858fa690ba into main 2026-05-23 17:40:35 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: minecraft/brass-and-sigil#36