An item can have multiple recipes attached to it of any type, allowing items to be crafted in more than 1 way.
An item can have multiple recipes attached to it of any type, allowing items to be crafted in more than 1 way.
### Available Recipe Types
### Available Recipe Types
-[`SHAPELESS`](Recipes/Shapeless) - A shapeless recipe
-[`SHAPELESS`](Recipes/Shapeless) - A shapeless recipe
-[`SHAPED`](Recipes/Shaped) - A recipe that requires a certain shape
-[`SHAPED`](Recipes/Shaped) - A recipe that requires a certain shape
-[`FURNACE`](Recipes/Furnace) - In a Furnace
-[`FURNACE`](Recipes/Furnace) - In a Furnace
-[`CAMPFIRE`](Recipes/Furnace) - In a Campfire
-[`CAMPFIRE`](Recipes/Furnace) - In a Campfire
-[`BLASTING`](Recipes/Furnace) - In a Blast Furnace
-[`BLASTING`](Recipes/Furnace) - In a Blast Furnace
-[`SMOKING`](Recipes/Furnace) - In a Smoker
-[`SMOKING`](Recipes/Furnace) - In a Smoker
-[`STONECUTTING`](Recipes/Stonecutting) - In a stonecutter
-[`STONECUTTING`](Recipes/Stonecutting) - In a stonecutter
-[`SMITHING`](Recipes/Smithing) - In a smithing table
-[`SMITHING`](Recipes/Smithing) - In a smithing table
-[`BREWING`](Recipes/Brewing) - Brewed in a brewing stand
-[`BREWING`](Recipes/Brewing) - Brewed in a brewing stand
# Leftover Items
# Leftover Items
### Works only for `Shaped` and `Shapeless`
### Works only for `Shaped` and `Shapeless`
If you want to have items leftover inside the crafting grid after a recipe is completed you can add the`IngredientsLeftover` option. This will work in the same way crafting with a bucket of milk will leave the empty bucket in the grid. You can use any item including Mythic items. In the below example an empty bucket will be left in the crafting grid once the item is crafted.
If you want to have items leftover inside the crafting grid after a recipe is completed you can add the`IngredientsLeftover` option. This will work in the same way crafting with a bucket of milk will leave the empty bucket in the grid. You can use any item including Mythic items. In the below example an empty bucket will be left in the crafting grid once the item is crafted.
```yaml
```yaml
ExampleItem:
ExampleItem:
Id:GOLD_NUGGET
Id:GOLD_NUGGET
Display:'TestRecipeItem'
Display:'TestRecipeItem'
Recipes:
Recipes:
SHAPELESS:
SHAPELESS:
Type:SHAPELESS
Type:SHAPELESS
Amount:1
Amount:1
IngredientsLeftover:
IngredientsLeftover:
-bucket
-bucket
Ingredients:
Ingredients:
-water_bucket
-water_bucket
-apple
-apple
```
```
# Conditions
# Conditions
### Works only for `Shaped` and `Shapeless`
### Works only for `Shaped` and `Shapeless`
You can check against a set of [Conditions](/../../../MythicMobs/-/wikis/Skills/conditions) that must be met in order for the player to be able to craft the item
You can check against a set of [Conditions](/../../../MythicMobs/-/wikis/Skills/conditions) that must be met in order for the player to be able to craft the item
```yaml
```yaml
ExampleItem:
ExampleItem:
Id:GOLD_NUGGET
Id:GOLD_NUGGET
Display:'TestRecipe'
Display:'TestRecipe'
Recipes:
Recipes:
NIGHT:
NIGHT:
Type:SHAPED
Type:SHAPED
Conditions:
Conditions:
-night
-night
Ingredients:
Ingredients:
-FEATHER | AIR
-FEATHER | AIR
-AIR | FEATHER
-AIR | FEATHER
```
```
# CraftSkills
# CraftSkills
### Works only for `Shaped` and `Shapeless`
### Works only for `Shaped` and `Shapeless`
Allows the player to execute a skill once the associated item is crafted.
Allows the player to execute a skill once the associated item is crafted.
The `<skill.var.crafts>` placeholder can be used to fetch the amount of items crafted.
The `<skill.var.crafts>` placeholder can be used to fetch the amount of items crafted.
```yaml
```yaml
ThiccItem:
ThiccItem:
Recipes:
Recipes:
Recipe:
Recipe:
Type:SHAPELESS
Type:SHAPELESS
Ingredients:
Ingredients:
-slime_ball
-slime_ball
-honey_bottle
-honey_bottle
CraftSkills:
CraftSkills:
-lightning @self
-lightning @self
```
```
# Wildcards
# Example Crafting Configuration
### Works only for `Shaped` and `Shapeless`
Here is an example of an item with multiple recipes attached to it.
Wildcards can be used in recipes for both vanilla and Mythic items when specified. The list of ingredients must be within ' ', with "m" predicating mythic items and "v" predicating vanilla wildcards. For example, 'm *dagger' will accept any mythic item with "dagger" at the end of their internal name. 'v *PLANKS' will accept any vanilla item with planks at the end of their name ID.
```yaml
ExampleItem:
```yaml
Id:GOLD_NUGGET
TEST_WAND:
Model:5
Recipes:
Display:'TestRecipeItem'
Recipe:
Recipes:
Type:SHAPED
FURNACE:
Ingredients:
Type:FURNACE
-'AIR|m*jewel|AIR'
Amount:1
-'AIR|v*PLANKS|AIR'
CookingTime:120
-'AIR|v*PLANKS|AIR'
Experience:5
```
Ingredient:diamond
SHAPED_1:
Type:SHAPED
# Example Crafting Configuration
Amount:1
Here is an example of an item with multiple recipes attached to it.