|
|
The most important part about crafting recipes is the recipe ingredients (physical items any player must have to use the recipe). Recipe ingredients are stored in a list inside the recipe config section. There are multiple types of recipe ingredients, the default ones being:
|
|
|
* items generated using MMOItems
|
|
|
* vanilla items (not generated using MI) with a custom display name
|
|
|
|
|
|
For instance, the ingredients needed to craft a silver sword are the following: 4 steel ingots (item generated using MMOItems) and 2 vanilla wooden sticks.
|
|
|
```
|
|
|
recipes:
|
|
|
steel-sword:
|
|
|
ingredients:
|
|
|
- 'mmoitem MATERIAL STEEL_INGOT 4 Steel_Ingot'
|
|
|
- 'vanilla STICK . 2 Wooden_Stick'
|
|
|
```
|
|
|
|
|
|
In order to setup an MMOItem ingredient, use `mmoitem <ITEM_TYPE> <ITEM_ID> (amount) (GUI_name)`. The `GUI_name` option corresponds to the name which will be displayed in the ingredient list, in the recipe item lore. Arguments marked with () brackets are optional.
|
|
|
In order to setup a vanilla ingredient, use `vanilla <ITEM_TYPE> (display_name) (amount) (GUI_name)`. Set the vanilla item `display_name` to . to have no display name.
|
|
|
|
|
|
The ingredient list should look like this in game: https://i.imgur.com/jECX7PW.png |
|
|
\ No newline at end of file |