Powered Thingies :: Compound Maker
Link to powered-thingies--compound-maker
Importing
Link to importing
ZenScript Copyimport mods.poweredthingies.Tweaker.compoundTweaker as ct;
Listing Keys, Removing Recipes by Key, Clearing
Link to listing-keys-removing-recipes-by-key-clearing
ZenScript Copyct().logKeys()
ct().removeRecipe('minecraft:stone') // check <logKeys> output for valid keys
ct().clear()
Adding Recipe
Link to adding-recipe
Signature
Link to signature
ZenScript CopyaddRecipe(output: IItemStack, left: ILiquidStack?, top: Array<IItemStack>?, right: ILiquidStack?, bottom: Array<IItemStack>?)
Пример
Link to пример
ZenScript Copyct().addRecipe(<minecraft:obsidian>, <liquid:lava> * 250, [<minecraft:cobblestone>, <minecraft:cobblestone>], null, [<minecraft:cobblestone>, <minecraft:cobblestone>]);
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).