ZenScript
Copy
import mods.roots.Rituals;
ZenScript
Copy
void modifyRitual(
  string name,         // the name of the ritual whose ingredients you wish to modify
  IIngredient[] inputs // a list of five ingredients (no more, no less)
);

Modifies the specified Ritual recipe to use the five ingredients specified.


ZenScript
Copy
Ritual getRitual(
  string ritualName // the name of the ritual to be fetched; will prepend `ritual_` if it doesn't start with `ritual_`.
);

Returns a Ritual object which can have its properties modified.


ZenScript
Copy
import mods.roots.Rituals;

// Changes the ingredients required to perform the windwall ritual
Rituals.modifyRitual("ritual_windwall", [<minecraft:feather>, <minecraft:flint_and_steel>.anyDamage().transformDamage(1), <roots:cloud_berry>, <roots:cloud_berry>, <minecraft:web>]);