Crafting

To create a recipe you have to create a special section in one of your .yml files. This section can be added in all and any of your .yml files for better organization of recipes.

3x3 recipe

As you can see I created the recipes section in the .yml file, this section can contain each type of recipe. In this example I created a crafting_table recipe called deadmau5_hat.

2x2 recipe

Method 1

Method 2

Multiple patterns

Special features

For example this is the peeled_potato recipe. This is a special recipe which uses a knife as ingredient of the crafting (and a potato) and decrements its durability when player crafts one peeled potato without making it disappear.

As you can see you can also play a sound using play_sound.

Shapeless recipes

Potion type in ingredient

You can require a specific potion type in the ingredient by using the potion_type property, for example:

Last updated

Was this helpful?