
Note that only crafting recipes are managed by the recipes object - furnace recipes, for instance, are managed by the furnace object (which you will learn about in a later tutorial) and mods machines have yet different methods to manage recipes. The recipes object is a special object that is available from anywhere in your code and contains all the functions related to adding and removing crafting recipes. This line essentially means "call the addShaped function on the recipes object". Recipes.addShaped( recipe output, recipe contents) A more useful function, for instance, is the function to add a shaped recipe: An example function is print, which you have seen before, and which takes a single argument: In order to define its functionality, you have to call functions. There is no visual editor, only a scripting language, so you have to understand how to write your recipes as text. The most basic modifications you can perform in MineTweaker are recipe addition and removal. If you want to create or remove recipes without having to code, you can also check out this nice mod by DoubleDoorDevelopment: Using recipe notation
