Translation of official examples.
Magic transaction
Event.recipes.occultism.spirit_trade ('Minecraft: Rotten_flesh', 'MINECRAFT: BONE')
Linghuo purification (output items, input items)
Event.recipes.occultism.spirit_fire ('Minecraft: EMERALD_ORE', '#Forge: GEMS/EMERALD')
Magic Squanking (output item, input items)
Event.recipes.occultism.crushing ('2x #Forge: ores/Iron', '#Forge: Tools/Swords')
Mine ore (available, probability, probability, miner level required)
Event.recipes.occultism.miner (Item.of ('Minecraft: Wooden_pickaxe'). WithChaance (100),
'#Occultism: Miners/Master'
)
Custom ritual formula
event.recipes.occultism.ritual ('Occultism: Spirit_lantern', // Output items
[
"Lapis_lazuli",
"#Forge: raw_materials",,
["Minecraft: COAL", 'MINECRAFT: Charcoal'],
], // Enter the item
'#Forge: Stone', // The core input item of the ceremony (placed on the golden sacrifice bowl)
'OCCULTISM: Craft_Afrit' // Pentagon ID
). Dummy ("Kubejs: dummy_ritual_thing"). UseItem ('Minecraft: Egg') //
})
Also attached to the pentagram ID: