All checks were successful
Build & Release Pack / build (push) Successful in 1m46s
NeoForge 1.21.1 (21.1.248) packwiz pack: client + server packs, story system (KubeJS/FTB Quests), patched World Portal & Create Ore Excavation, performance presets, and ops tooling. Clean-history import for v1.0.0.
11 lines
418 B
JavaScript
11 lines
418 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.dataReceived('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)
|
|
}
|
|
})
|