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

Powered Thingies :: Item Compound Producer

Importing

script.zs
import mods.poweredthingies.Tweaker.itemCompoundProducerTweaker as icp;

Listing Keys, Removing Recipes by Key, Clearing

script.zs
icp().logKeys()
icp().removeRecipe('minecraft:mossy_cobblestone') // check <logKeys> output for valid keys
icp().clear()

Adding Recipe

Signature
script.zs
addRecipe(inputStack: IItemStack, inputFluid: ILiquidStack, result: IItemStack)
Example
script.zs
icp().addRecipe(<minecraft:cobblestone>, <liquid:water> * 125, <minecraft:mossy_cobblestone>);

Notes

All of these actions will get cached and ran after the default registry for this machine has finished registering all recipes (including the ones from the custom jsons).