Occultism

Occultism

37M Downloads

[Help] Custom Rituals/Pentacles

fireheart3911 opened this issue ยท 1 comments

commented

Describe your problem
Is there still a way to register custom rituals (preferrably via KubeJS)?
The only information i could find regarding this is #714, however the files linked there have since been removed.
KubeJS Occultism also vaguely mentions something about custom rituals/pentacles, however i was not able to find information within ProbeJS.
If there is a way, where can i find information on how to do this?

System (please complete the following information):

  • 1.20.1 (using latest Occultism Build)
  • Relevant Mods: KubeJS, KubeJS Occultism
commented

@fireheart3911 with occultism KubeJS installed you can use https://github.com/klikli-dev/occultism-kubejs/blob/version/1.20.1/run/kubejs/server_scripts/example.js (see the last example) to add custom ritual recipes.

If you also want to build a custom pentacle, you can use the datapack that kubejs loads and e.g. copy an existing pentacle from occultism's https://github.com/klikli-dev/occultism/tree/version/1.20.1/src/generated/resources/data/occultism/modonomicon/multiblocks folder and modify it as needed

KubeJS can probably also somehow add multiblocks via javascript because I think it can create generic json data files, but as that is not a specific occultism integration you would have to check with kubejs if they can do generic json loading.