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

Powered Thingies :: Powered Kiln

Importing

script.zs
import mods.poweredthingies.Tweaker.poweredKilnTweaker as pkt;

Listing Keys, Removing Recipes by Key, Clearing

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

Adding Recipe

Signature
script.zs
addRecipe(input: IItemStack, output: IItemStack)
Example
script.zs
pkt().addRecipe(<minecraft:bucket>, <minecraft:iron_ingot>);

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).