Commit graph

9 commits

Author SHA1 Message Date
MiTHRAL
26a9fe775d fix: KubeJS redeclaration of const SC across server scripts
All checks were successful
Build & Release Pack / build (push) Successful in 1m46s
Three server scripts each declared 'const SC' at top level, but KubeJS 2101
shares a single global scope across all server scripts → 'redeclaration of
const SC' TypeError.

Rename per-file to unique consts:
- 01_corruption_tide.js → const TIDE_SC
- 02_events.js          → const EVENTS_SC
- 03_recipes_tags.js    → const RECIPES_SC

(The IP warnings in the log — Iris portal artifacts + HAR 1010 wrong-mods —
are informational from the IPSable fork, not errors.)
2026-08-19 22:14:35 -04:00
MiTHRAL
2fdd487786 fix: singleplayer join crash (mekanismcovers sodium mixin) + KubeJS/LootJS API migration
All checks were successful
Build & Release Pack / build (push) Successful in 1m40s
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
MiTHRAL
1cc4df514d fix: KubeJS client events - tooltip and JEI API changes
All checks were successful
Build & Release Pack / build (push) Successful in 1m41s
- ItemEvents.tooltip → ItemEvents.modifyTooltips (new KubeJS 2101 API)
- JEIEvents.information → RecipeViewerEvents.addInformation('item', ...)
  (JEI integration moved to unified RecipeViewerEvents system)
2026-08-19 19:29:16 -04:00
MiTHRAL
aaa2ecea1e fix: remove 'glass' block type from renegade_glass (not a valid KubeJS block type in 1.21; glass behavior handled by renderType + opaque)
All checks were successful
Build & Release Pack / build (push) Successful in 1m42s
2026-08-19 19:21:07 -04:00
MiTHRAL
1741dbfed4 fix: KubeJS block methods - replace material/translucent/noSolid with valid 1.21 API
All checks were successful
Build & Release Pack / build (push) Successful in 1m46s
- Replace .material('metal') with .soundType('metal').mapColor('color_gray')
- Replace .material('glass'), .translucent(true), .noSolid(true) with
  .soundType('glass').renderType('translucent').opaque(false)
- Verified all methods against jar: hardness, resistance, lightLevel,
  tagBlock, texture, soundType, mapColor, renderType, opaque all exist
2026-08-19 19:05:16 -04:00
MiTHRAL
c989b34921 fix: KubeJS textureAll → texture (method doesn't exist on BasicKubeBlockBuilder in this KubeJS version)
All checks were successful
Build & Release Pack / build (push) Successful in 1m43s
2026-08-19 18:54:20 -04:00
MiTHRAL
b7a4b04a90 fix: KubeJS startup errors - remove unbreakable() and basic type
All checks were successful
Build & Release Pack / build (push) Successful in 1m37s
- Remove .unbreakable() from void_stabilizer item (not valid on
  ItemBuilder; KubeJS forbids it)
- Remove explicit 'basic' type from quantum_lattice block creation
  (defaults to basic; explicit caused unknown type error)
2026-08-19 18:45:09 -04:00
MiTHRAL
65de1eb5c8 Reorganize repo: STORY/ as prose source of truth, gen_story.py generator, docs/ ops guides, lang-key single-sourcing 2026-08-19 14:54:58 -04:00
MiTHRAL
e6433d3f70 SCICRAFT: The Dark Photon Protocol — packwiz packs, story system, guides 2026-08-19 03:03:24 -04:00