Last updated
Last updated
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 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.
Ingredients are defined as a one-character "key" and an . The "key" is used to determine the shape
of the recipe.
In this example, we replace d
with a DIAMOND
and r
with a rainbow_block
.
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.
This page is about the Crafting Table. For further information about other types of recipes, see the page "".
d
d
d
r
d
d
d
d
Crafting recipes can use both regular items and custom items as ingredients or results.