Configuration

'''NOTE: This method is not recommend for mod developers trying to register custom recipes for items/blocks in their mod. Please see the Developers section.'''

About
On this page, you will learn how to add custom recipes using the RecipeAPI in the configuration file. For example, you might want the Oven to be able cook Cobblestone into Stone but the default recipes don't include it, this is where the API comes. Now I've written this tutorial to be simple as it is aimed at the general player. If you are a developer, read the note above.

To wrap the configuration API in one sentence, variables are used to define data like input-item, which for example tells the Oven that this item can be cooked. Different furniture/appliances require a specific set of variables for them to work correctly. The Freezer requires an input-item and an output-item. The input-item being the item that can be froze, and output-item being the result of the frozen input-item.

Getting Started
To start adding your own recipes, you will need to open up the configuration file.

It is located at :

%appdata%/.minecraft/config/cfm.cfg  for Windows,

~/Library/Application Support/minecraft/config/cfm.cfg for Mac.

On Linux,it is a hidden folder.Go to your home folder and do Ctrl+H and look for .minecraft/config/cfm.cfg.

Inside of the recipe-api category, you should find a section called custom-recipes. This is where all our custom recipes go into. Please note that each recipe must go on a new line and must be in-between the arrows. S:custom-recipes < >

Custom Oven Recipe
This custom recipe will allow you to cook items in the Oven.

Required Variables

 * input-item
 * output-item

Examples :
1. Sets the type to oven. The item to be cooked is a Potato. The result of the cooked Potato is 2 Baked Potatoes. type=oven,input-item=minecraft:potato,output-item=minecraft:baked_potato,output-amount=2

2. Set the type to oven. The item to be cooked is an Oxeye Daisy. The result of the cooked Oxeye Daisy is Bone meal. type=oven,input-item=minecraft:red_flower,input-metadata=8,output-item=minecraft:dye,output-metadata=15

Required Variables

 * input-item
 * output-item

Examples:
1.Sets the type to freezer. The item to be frozen is a Water Bucket. The result of the frozen Water Bucket is a Block of Ice type=freezer,input-item=minecraft:water_bucket,output-item=minecraft:ice

Required Variables

 * input-item

Examples :
1.Sets the type to printer. The result can be... type=printer,input-item=minecraft:enchanted_book

2.Also can be... type=printer,input-item=minecraft:written_book

Required Variables

 * input-item
 * payment-item
 * payment-price

Examples :
1.Sets the type to minebay. Put 5 emeralds and you receive one Fridge. type=minebay,input-item=cfm:ItemFridge,payment-item=minecraft:emerald,payment-price=5

2.Sets the type to minebay. Put 20 cooked beef and you receive one emerald. type=minebay,input-item=minecraft:emerald,input-amount=2,payment-item=minecraft:cooked_beef,payment-price=20

Required Variables

 * name
 * ingredients
 * heal
 * colour

Exemples
1.Sets the type to blender. Put 2 Apple, 2 Melon, and 1 Redstone to make Red Slack type=blender,name=Red_Slack,heal=10,ingredients=minecraft:apple:2/minecraft:melon:2/minecraft:redstone:1,colour=255:0:0

Required Variables

 * input-item
 * output-item

Examples
type=choppingboard,input-item=minecraft:planks,output-item=minecraft:stick,output-amount=9
 * 1) Set the type to chopping board. Put one plank for nine sticks.

Required Variables

 * input-item
 * output-item

Examples
1.Sets the type to microwave. Put Raw porkchop and it will turn into Cooked Porkchop type=microwave, input-item=minecraft:porkchop,output-item=minecraft:cooked_porkchop

Required Variables

 * input-item

Required Variables

 * input-item

Required Variables

 * input-item
 * output-item