Exchange Tablet
Importing the Package
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)
.
mods.embers.Alchemy.add(IItemStack output, IIngredient[] inputs, int[][string] aspectRange);
Removing Recipes
mods.embers.Alchemy.remove(IItemStack output);
Custom Aspects
mods.embers.Alchemy.addAspect(string name, IItemStack item);