All checks were successful
Build & Release Pack / build (push) Successful in 1m47s
- 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
60 lines
No EOL
1.9 KiB
JavaScript
60 lines
No EOL
1.9 KiB
JavaScript
// SCICRAFT — The Dark Photon Protocol
|
|
// Custom items & blocks for the Protocol.
|
|
// Names + tooltips come from the lang file (STORY/*.md → en_us.json).
|
|
// Startup scripts: requires a full restart to apply.
|
|
|
|
StartupEvents.registry('item', event => {
|
|
// Photon Core — the raw fifth-force crystal. Lattice fuel.
|
|
event.create('scicraft:photon_core')
|
|
.texture('scicraft:item/photon_core')
|
|
.maxStackSize(64)
|
|
.tag('scicraft:photon')
|
|
.tag('c:gems')
|
|
.glow(true)
|
|
|
|
// Photon Fragment — shattered cores recovered from the Darker.
|
|
event.create('scicraft:photon_fragment')
|
|
.texture('scicraft:item/photon_fragment')
|
|
.maxStackSize(64)
|
|
.tag('scicraft:photon')
|
|
.tag('c:gems')
|
|
.glow(true)
|
|
|
|
// Void Stabilizer — the tool that re-seals Doors at the Lattice.
|
|
event.create('scicraft:void_stabilizer')
|
|
.texture('scicraft:item/void_stabilizer')
|
|
.maxStackSize(1)
|
|
.tag('scicraft:stabilizer')
|
|
|
|
// Protocol Tome — given on first login; opens the FTB Quests guidance book.
|
|
event.create('scicraft:protocol_tome')
|
|
.texture('scicraft:item/protocol_tome')
|
|
.maxStackSize(1)
|
|
.glow(true)
|
|
})
|
|
|
|
StartupEvents.registry('block', event => {
|
|
// Quantum Lattice — the Protocol's emitter. Must stay powered.
|
|
event.create('scicraft:quantum_lattice')
|
|
.texture('scicraft:block/quantum_lattice')
|
|
.hardness(5.0)
|
|
.resistance(1200.0)
|
|
.soundType('metal')
|
|
.mapColor('color_gray')
|
|
.lightLevel(0.9)
|
|
.tagBlock('minecraft:mineable/pickaxe')
|
|
.tagBlock('minecraft:needs_diamond_tool')
|
|
|
|
// Renegade Glass — the TARDIS-blue glass of the Flight. Purely decorative.
|
|
event.create('scicraft:renegade_glass')
|
|
.texture('scicraft:block/renegade_glass')
|
|
.hardness(0.3)
|
|
.resistance(0.3)
|
|
.soundType('glass')
|
|
.renderType('translucent')
|
|
.opaque(false)
|
|
.tagBlock('minecraft:mineable/pickaxe')
|
|
.tagBlock('c:glass_blocks')
|
|
.tagBlock('c:glass')
|
|
.tagBlock('minecraft:impermeable')
|
|
}) |