Starlight Transmutation
Link to starlight-transmutation
You can add and remove Starlight Transmutations
Calling
Link to calling
You can call the LightTransmutations package using mods.astralsorcery.LightTransmutation
.
Removing
Link to removing
This function removes the first recipe it finds that returns provided IItemStack output
and uses matchStack
to determine whether it should also match Metadata.
If there are multiple recipes that return the provided output, you need to call this method multiple times!
ZenScript Copy//mods.astralsorcery.LightTransmutation.removeTransmutation(IItemStack stackToRemove, boolean matchMeta);
mods.astralsorcery.LightTransmutation.removeTransmutation(<minecraft:end_stone>, false);
Addition
Link to addition
ZenScript Copy//mods.astralsorcery.LightTransmutation.addTransmutation(IItemStack stackIn, IItemStack stackOut, double cost);
mods.astralsorcery.LightTransmutation.addTransmutation(<minecraft:grass>, <minecraft:gold_ore>, 10);