Get an Epic Experience with Premium

Custom Recipes

Map and Information Login to Add Favorites
  • 1 Like
  • Minecraft
  • 2,265 Monthly Downloads
  • Supports: 1.6.4
  • 17,960 Total Downloads
  • Updated 12/05/2013
  • Created 05/29/2013
  • 11 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: All Rights Reserved
  • Newest File: CustomRecipes-4.5-5.jar
or

About Custom Recipes

This mod requires Minecraft Forge
Place this zip file into .minecraft/mods.

What does it do?

  • This mod lets you create new recipes for Minecraft.
  • You don't have to download "crafting mods" any more!
  • All recipes are saved in Recipe Files, which can be edited by notepad.
  • This mod is also useful for debugging your mods.

How to get Recipe Files
Recipe files can be found in:


  • Mods on this site (they tell you to download this mod)
  • Official recipe pack: Mighty Recipes
  • After you download your recipe files, place them into this folder:
  • .minecraft / mods / customrecipes
    License

You can...

  • ...create new recipes with this mod
  • ...freely distribute your own recipe files
  • ...post your recipes as new mods

You can't...

  • ...redistribute this mod or any of it's parts, including the dictionary file
  • ...say that you created this mod or any of it's parts

Writing new recipes

There are 4 available recipe types:


  • Shaped (the basic recipe)
  • Shapeless (eg. dying wool)
  • Smelting (for furnace).
  • Fuel (for furnace)

The recipe file can also contain:


  • Alias definition
  • Comment

Recipes can be saved in any text files in .minecraft/mods/customrecipes.
You can also use comments to make the code cleaner.

Recipe syntax - how to make a recipe
General notice: To get modded blocks, simply use their id like this: *pipe=185, and then use keyword pipe. For items, you must add 256 to the item id, if its 5000 in property file, use *explosiveEgg=5256.

shaped ( name,m + name,m + name,m / name,m + ... ) > ( name,count,m )
meta and count are optional.

Shaped recipe consist of recipe (left) and result (right).

name = Block or item name (defined in the dictionary), or number (direct ID)
m = meta / damage value. This is used, for example, to determine leaves, wool and dye colour.
count = number of items produced, default is 1.

Recipe rows (the name+name+name pieces) are divided by either ; , | or /.
All rows must have the same size.
Use "null" , "none" , "air" or "nothing" in empty slots.

shapeless ( name,m + name,m + name,m ... ) > ( name,count,m )
meta and count are optional.
Shapeless recipe has only one "row", with up to 9 items.

smelting ( name ) > ( name,count,m )
meta and count are optional.

Smelting recipe can have only one item on left, and can't specify it's meta.

fuel ( name, burn_time )
fuel ( name, meta, burn_time )
meta is optional.

Name is an alias or item ID, and burntime defines how long this item should burn.
Stick has burntime 100, planks 300, coal 1600, lavabucket 20000.
If you write some super large number here, you will have nearly infinite fuel.

*Alias=ID,meta
meta is optional.
This is an alias definition of new block or item.
Alias can contain letters, numbers and underscore. ID must be a number.
Aliases are defined in the dictionary, but you can define your own in your recipe file.

# comment, description, whatever
this also works
This is how you can make comments in your recipe files.
Comment doesn't have to start on new line, but all from the # sign till the end of line is treated as a comment.

Lazy code
For those who don't like brackets: Don't use them!
shapeless fence > stick,6
This works (or may work) too.

Example recipes

  • shaped (log+null+log / log+log+log / log+null+log) > ( ladder,16 )
    (recipe from "EasyWood" mod, crafting ladder of logs)
  • shaped ( stick+stick / stick+stick ) > ( planks )
    (recipe from "ReverseCrafting" mod, making planks back from sticks)
  • shapeless ( dirt ) > ( clay )
    (converting dirt to clay)
  • shapeless ( log,0 ) > ( log,2 )
    (oak to birch)
  • shapeless ( logOak ) > ( logBirch )
    (it can be now done this way)
  • shapeless ( bucketLava+bucketWater ) > ( obsidian )
    (recipe from "Crafting obsidian" mod; buckets will be returned empty)
  • smelting ( ice ) > ( water )
    (recipe to get "water tiles")
  • smelting ( gravel ) > ( glass,64 )
    (This is real cheating! Smelt one gravel to get 64 blocks of glass!)
  • *rock=1
    Stone alias (rock can now be used instead of stone)
  • fuel ( netherrack,10000000 )
    Super fuel
  • # Comments
    Any comment

Tips

  • Read the dictionary.txt file to get better knowledge of block and item names
  • Place similar recipes into one file to create recipe packs
  • You can post the recipe packs as new mods here, just tell users to download this mod.
  • To upload your recipes, ZIP them!
  • If you run minecraft from command line, you get error messages that will help you debug your recipes.
  • Spaces are ignored in the recipe files during execution, thus you can use spaces for formatting.

    [/spoiler]

Custom Recipes 4.5 (build #5)


  • Added new option to the config, "debug", which will enable/disable debugging mode. Debugging mode will print a more extensive log.
  • Added recipe loading when the world loads and removed keybindings. I got annoyed that everytime you typed "r" it would reload the recipes, so now you have to exit and enter the world to reload the recipes. This will also make sure that every recipe functions when you first start up the game, it will load the recipes and then load them again when you enter a world, so every block and item should be included.
  • Added a version checker that will print a message if the mod is outdated.

Comments

Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

WildStar Add-on Contest!

Enter Now!