SciCraft/client_pack/kubejs/server_scripts
MiTHRAL 2fdd487786
All checks were successful
Build & Release Pack / build (push) Successful in 1m40s
fix: singleplayer join crash (mekanismcovers sodium mixin) + KubeJS/LootJS API migration
FATAL fix — mekanismcovers Sodium mixin crash:
- mekanismcovers 1.3-BETA targets an old Sodium BlockRenderer API that
  doesn't exist in Sodium 0.8.13 → 'No refMap loaded' InjectionError.
- Add config/mekanismcovers.json with disableAdvancedCoverRendering=true
  (the mod's documented workaround for Sodium/Iris/Embeddium crashes).
  Also set enableShaderCompatibleRendering=true.

KubeJS 2101.x API migration (global assignment no longer allowed):
- Remove 00_lore.js (it only set global.SCICRAFT, which is now forbidden)
- Inline the config object into 01_corruption_tide/02_events/03_recipes
  (global.SCICRAFT → local const SC per script)
- Remove unused 'const SC = global.SCICRAFT' from registry_blocks.js

LootJS 3.x API migration:
- addEntityLootModifier → addEntityModifier (04_loot.js, 7 call sites)

Pack validates: client 140 / server 118 mods, 57 story keys.
2026-08-19 21:32:35 -04:00
..
01_corruption_tide.js fix: singleplayer join crash (mekanismcovers sodium mixin) + KubeJS/LootJS API migration 2026-08-19 21:32:35 -04:00
02_events.js fix: singleplayer join crash (mekanismcovers sodium mixin) + KubeJS/LootJS API migration 2026-08-19 21:32:35 -04:00
03_recipes_tags.js fix: singleplayer join crash (mekanismcovers sodium mixin) + KubeJS/LootJS API migration 2026-08-19 21:32:35 -04:00
04_loot.js fix: singleplayer join crash (mekanismcovers sodium mixin) + KubeJS/LootJS API migration 2026-08-19 21:32:35 -04:00