FANDOM


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.

NOTE: This page is to show examples. please post your custom recipes to User Submitted instead of on here. I have locked this page to registered users for now, may change that in the future. -Tobywanbj

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.

For a complete list of variables and explanations for each, please see Variable List.

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 and ~/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

Custom Freezer Recipe

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

Custom Printer Recipe

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

Custom MineBay Item

Required Variables

  • input-item

Examples:

1.Sets the type to minebay. Put the item/block price in and you receive one Fridge.

type=minebay,input-item=cfm:ItemFridge,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

Custom Blender Drink

Required Variables

  • name
  • ingredients
  • heal
  • colour

Examples:

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

Custom Chopping Board Recipe

Required Variables

  • input-item
  • output-item

Examples:

Custom Microwave Recipe

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

Custom Washing Machine Recipe

Required Variables

  • input-item

Examples:

Custom Dishwasher Recipe

Required Variables

  • input-item

Examples:

Custom Toaster Recipe

Required Variables

  • input-item
  • output-item

Examples:

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.