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

Offering to the Gods

Package

script.zs
mods.naturesaura.Offering

Methods

  • String Name
  • IIngredient input The offering
  • int ininputAmount The amount of items required for the input. Note that this means that the amount of the input variable is ignored
  • IIngredient startItem the item required to start the offering
  • IItemStack output The gift of the Offering

Addition

script.zs
mods.naturesaura.Offering.addRecipe(String name, IIngredient input, int inputAmount, IIngredient startItem, IItemStack output)

Removal

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