Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

Ritual of the Forest

Package

script.zs
mods.naturesaura.TreeRitual

Methods

  • String Name
  • IIngredient saplingType The item representation of the sapling that needs to be placed and grown into a tree
  • IItemStack output The rituals result
  • init time The time the process takes in ticks
  • IIngredient[] items The required items for the ritual

Addition

script.zs
mods.naturesaura.TreeRitual.addRecipe(String name, IIngredient saplingType, IItemStack output, int time, IIngredient[] items)

Removal

script.zs
mods.naturesaura.TreeRitual.removeRecipe(IItemStack output)