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.
25 lines
No EOL
1.3 KiB
JavaScript
25 lines
No EOL
1.3 KiB
JavaScript
// SCICRAFT — The Dark Photon Protocol
|
|
// LootJS: the Darker and the sealed horrors drop Photon Fragments.
|
|
// LootJS ships with the pack; if you disable it, remove this file.
|
|
|
|
LootJS.modifiers(event => {
|
|
// The Warden — a creature of the Deep Dark, now answering the signal.
|
|
event.addEntityModifier('minecraft:warden')
|
|
.addLoot(LootEntry.of('scicraft:photon_fragment').setCount([1, 3]))
|
|
|
|
// Mutant Monsters — the corrupted remnants of the Flight's containment.
|
|
event.addEntityModifier('mutantmonsters:mutant_zombie')
|
|
.addLoot(LootEntry.of('scicraft:photon_fragment').setCount([1, 2]))
|
|
event.addEntityModifier('mutantmonsters:mutant_skeleton')
|
|
.addLoot(LootEntry.of('scicraft:photon_fragment').setCount([1, 2]))
|
|
event.addEntityModifier('mutantmonsters:mutant_enderman')
|
|
.addLoot(LootEntry.of('scicraft:photon_fragment').setCount([2, 4]))
|
|
|
|
// Born in Chaos — the Darker's forward scouts.
|
|
event.addEntityModifier('born_in_chaos_v1:dark_vortex')
|
|
.addLoot(LootEntry.of('scicraft:photon_fragment').setCount(1))
|
|
event.addEntityModifier('born_in_chaos_v1:dread_hound')
|
|
.addLoot(LootEntry.of('scicraft:photon_fragment').setCount(1))
|
|
event.addEntityModifier('born_in_chaos_v1:nightmare_stalker')
|
|
.addLoot(LootEntry.of('scicraft:photon_fragment').setCount([2, 3]))
|
|
}) |