对官方示例的翻译。

魔精交易

event.recipes.occultism.spirit_trade('minecraft:rotten_flesh', 'minecraft:bone')

灵火净化(输出物品,输入物品)

event.recipes.occultism.spirit_fire('minecraft:emerald_ore', '#forge:gems/emerald')

魔精碎矿者(输出物品,输入物品)

event.recipes.occultism.crushing('2x #forge:ores/iron','#forge:tools/swords')

维度矿井(可获得物品,概率,所需要的矿工等级)

event.recipes.occultism.miner(
Item.of('minecraft:wooden_pickaxe').withChance(100),  
'#occultism:miners/master'                                             
)

自定义仪式配方

event.recipes.occultism.ritual(
'occultism:spirit_lantern', //输出物品
[    
"lapis_lazuli",
"#forge:raw_materials",
["minecraft:coal", 'minecraft:charcoal'],
],   //输入物品
'#forge:stone',  //仪式核心输入物品(放在黄金献祭之碗上的)
'occultism:craft_afrit'  //五芒星id
).dummy("kubejs:dummy_ritual_thing").useItem('minecraft:egg')//额外消耗材料或需献祭生物
})

另附五芒星ID:

occultism:craft_afrit塞维拉永囚咒
occultism:craft_djinni斯特里格高等束缚
occultism:craft_foliot埃兹维斯灵体强迫
occultism:craft_marid修菲斯倒转之塔
occultism:possess_afrit阿巴拉斯强令召唤术
occultism:possess_djinni伊哈根奴役术
occultism:possess_foliot海德林诱惑术
occultism:summon_afrit阿巴拉斯召唤术
occultism:summon_djinni欧菲克斯的召唤
occultism:summon_foliot阿维亚之环
occultism:summon_marid法特玛极效引诱
occultism:summon_wild_afrit阿巴拉斯开环召唤术
occultism:summon_wild_greater_spirit奥索林的无约束召唤