Powered Thingies :: Incinerator
Link to powered-thingies--incinerator
Importing
Link to importing
ZenScript Copyimport mods.poweredthingies.Tweaker.incineratorTweaker as it;
Listing Keys, Removing Recipes by Key, Clearing
Link to listing-keys-removing-recipes-by-key-clearing
ZenScript Copyit().logKeys()
it().removeRecipe('minecraft:log') // check <logKeys> output for valid keys
it().clear()
Adding Recipe
Link to adding-recipe
Signature
Link to signature
ZenScript CopyaddRecipe(input: IItemStack, power: Long, outputs: Array<WeightedItemStack>)
power
represents the total number of power units (RF, T, or FE) the input item will generate.
Пример
Link to пример
ZenScript Copyit().addRecipe(<minecraft:bucket>, 3600, [<minecraft:iron_ingot> % 15]);
Notes
Link to 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).