Tutorial - Adding a smelting recipe

In this part we're going to add a smelting recipe, so we can smelt our platinum ore in our platinum ingot.
Add the following lines to your mod.js file:

mod.addAlias(config.getBlockId("platinumOre"), "platinumOre");
mod.addAlias(config.getItemId("platinumIngot"), "platinumIngot");
mod.addSmeltingRecipe("platinumIngot", "platinumOre");

The first two lines add aliases for our ore and ingot. Aliases can be used in crafting and smelting recipes. It is useful to use aliases, so you don't have to use ids but names. It is important to add them before you use them.
The third line actually adds the smelting recipe. The first argument is the result and the second argument is the input.
Continue with: