Working with Recipes and Other Small Modifications in Minecraft
This is the first hour where you actually write your own code to get started for your own mod. This hour contains some of the most basic Minecraft modifications, which include recipes, dungeon possibilities, and generated chests. Thanks to Forge you can add every kind of recipe in Minecraft. You can also change the mobs that can be spawned in a dungeon. This can be used to add your own mob, but you can also create, for example, the possibility of a creeper dungeon. Finally, Forge also enables you to change the contents of any vanilla generated chest. Vanilla is the base of Minecraft without any mods installed.
Learning About Recipes in Minecraft
In Minecraft there are multiple kinds of recipes. There is a difference between smelting iron ore and crafting an iron pickaxe with it. This should be quite logical, because you do both in a different block. However, a difference also exists between crafting something like planks and a pickaxe.
There are three types of crafting recipes:
- Crafting recipes are recipes where you need certain items or blocks in a specified pattern. Another name for these is standard or shaped recipes. An example of a recipe like this is an iron pickaxe.
- Shapeless recipes are recipes without a defined shape. They also require certain items and blocks, but the pattern doesn’t matter. An example of a shapeless recipe is a flint and steel.
- Smelting recipes are all used in a furnace. Smelting recipes don’t have a shape and never have more than one item or block as an input.
For all the recipe types, you can return only a single item or block, but you can return several of the same item or block.