๐Ÿ› ๏ธMaking Custom Crafting Recipes

Crafting recipes can use both regular items and custom items as ingredients or results.

Custom recipe definitions go into plugins/Origami/custom/MY-CONTENT-PACK-NAME/recipes. If this directory is empty, then Origami will generate an example file for you.

Below is an example of a crafting recipe where surrounding a "Rainbow Block" (see the Custom Blocks page for details) with 8 diamonds results in a custom item, in this case enchanced_rainbow_block, being created.

Notably both an ingredient and the result here are Blocks - Blocks can be used just like any other item and the player will receive the item form of said Block.

result: origami:enhanced_rainbow_block
shape:
- ddd
- drd
- ddd
ingredients:
- d;DIAMOND
- r;origami:rainbow_block

Ingredients in a shaped recipe

Ingredients are defined as a one-character "key" and an item string. The "key" is used to determine the shape of the recipe.

d

d

d

d

r

d

d

d

d

In this example, we replace d with a DIAMOND and r with a rainbow_block.

Ingredients in a shapeless recipe

When shape is set to null, only the ingredients matter. A key does not need to be specified for each ingredient when the recipe is shapeless:

In this example, only one diamond and one Rainbow Block are needed to craft the item.

circle-info

This page is about the Crafting Table. For further information about other types of recipes, see the page "Crafting Recipe Types".

Last updated