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

Exchange Tablet

Importing the Package

script.zs
import mods.embers.Alchemy;

Adding Recipes

Note: The first element of inputs corresponds to the center of the tablet. Note: aspectRange must be an associative array with a string aspect as the key and an int[] range as the value. The range can be obtained using start .. (end + 1) or start to (end + 1).

script.zs
mods.embers.Alchemy.add(IItemStack output, IIngredient[] inputs, int[][string] aspectRange);

Removing Recipes

script.zs
mods.embers.Alchemy.remove(IItemStack output);

Custom Aspects

script.zs
mods.embers.Alchemy.addAspect(string name, IItemStack item);