Recipes
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
SHAPELESS- A shapeless recipeSHAPED- A recipe that requires a certain shapeFURNACE- In a FurnaceCAMPFIRE- In a CampfireBLASTING- In a Blast FurnaceSMOKING- In a SmokerSTONECUTTING- In a stonecutterSMITHING- In a smithing tableBREWING- Brewed in a brewing stand
Leftover Items
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 theIngredientsLeftover 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.
ExampleItem:
Id: GOLD_NUGGET
Display: 'Test Recipe Item'
Recipes:
SHAPELESS:
Type: SHAPELESS
Amount: 1
IngredientsLeftover:
- bucket
Ingredients:
- water_bucket
- apple
Conditions
Works only for Shaped and Shapeless
You can check against a set of Conditions that must be met in order for the player to be able to craft the item
ExampleItem:
Id: GOLD_NUGGET
Display: 'Test Recipe'
Recipes:
NIGHT:
Type: SHAPED
Conditions:
- night
Ingredients:
- FEATHER | AIR
- AIR | FEATHER
CraftSkills
Works only for Shaped and Shapeless
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.
ThiccItem:
Recipes:
Recipe:
Type: SHAPELESS
Ingredients:
- slime_ball
- honey_bottle
CraftSkills:
- lightning @self
Wildcards
Works only for Shaped and Shapeless
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.
TEST_WAND:
Recipes:
Recipe:
Type: SHAPED
Ingredients:
- 'AIR |m *jewel| AIR'
- 'AIR |v *PLANKS| AIR'
- 'AIR |v *PLANKS| AIR'
Example Crafting Configuration
Here is an example of an item with multiple recipes attached to it.
ExampleItem:
Id: GOLD_NUGGET
Model: 5
Display: 'Test Recipe Item'
Recipes:
FURNACE:
Type: FURNACE
Amount: 1
CookingTime: 120
Experience: 5
Ingredient: diamond
SHAPED_1:
Type: SHAPED
Amount: 1
Ingredients:
- apple | air
- air | apple
BREWER_1:
Type: BREWING
Amount: 1
Ingredient: apple
InputItem: diamond
SHAPELESS_1:
Type: SHAPELESS
Amount: 1
Ingredients:
- apple
- apple
- diamond
- TestRecipe