SciCraft/server_pack/kubejs/client_scripts/03_protocol_tome.js
MiTHRAL ff02f1df0c
All checks were successful
Build & Release Pack / build (push) Successful in 1m47s
feat(v1.0.8): realistic worldgen + bundled shader/resource packs + Protocol Tome + Lithium
- Worldgen (both packs): Terralith 2.6.2, Tectonic 3.0.26, Continents 1.1.12
  (realistic continent-based overworld; applies to NEW worlds)
- Client: bundle MakeUp Ultra Fast shaderpack (LGPL) + Vanilla Live resource
  pack (CC-BY-SA), force-enabled via Resource Pack Overrides
- FTB Quests: add Protocol Tome starter item (given on first login) that opens
  the quest book via KubeJS network -> FTBQuestsClient.openGui(); + lang keys
- Optimize: add Lithium 0.15.4 (NeoForge 1.21.1) to both packs
- Docs: mods.md updated with worldgen/shader/resource/quest notes
2026-08-20 16:11:22 -04:00

11 lines
416 B
JavaScript

// SCICRAFT — The Dark Photon Protocol
// Client: open the FTB Quests book when the server says the Tome was used.
// The server sends 'scicraft:open_quests' on Tome right-click.
NetworkEvents.fromServer('scicraft:open_quests', event => {
try {
Java.loadClass('dev.ftb.mods.ftbquests.client.FTBQuestsClient').openGui()
} catch (err) {
console.warn('Protocol Tome: could not open FTB Quests GUI', err)
}
})