Crafting
This recipe allows your users to craft an item
Last updated
Was this helpful?
This recipe allows your users to craft an item
Last updated
Was this helpful?
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.
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
.
You can create multiple patterns per recipe, just make sure that the attribute starts with pattern
text. For example pattern_2
.
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
.