An additional output type that executes commands upon ritual completion.
Example (in datapack format):
"outputs": [
{ "item": "minecraft:diamond" },
{ "mob": "minecraft:cat" },
{ "command": "kill @e[type=minecraft:creeper,distance=0..100]"
]
This ritual's output would create a diamond, summon a cat, then kill all creepers within a 100 block radius.
Commands would add unlimited flexibility to ritual outputs - teleporting, weather-changing, potion effects, /fill, etc.
It may also help compatibility with other mods, eg. in the case of #17, a /summon command could be used to properly apply modded NBT to the mob that's summoned:
event.recipes.summoningrituals.altar("minecraft:bone")
.commandOutput(
'summon minecraft:wolf ~ ~ ~ { cardinal_components: { "apoli:powers": { Powers: [{ Type: "cot:buff_wolf", Sources: ["cot:test"], Data: {} }] } }, "apathy-spawnType": "spawner" }'
)