Links
Comment on page

Recipes and Crafting

This page covers the settings for crafting recipes in the AdvancedItems plugin. You can define custom crafting recipes for your items using the settings provided here.

Crafting Example

recipe:
# Layout for crafting. If you want no item in that slot, use a space ` `
layout:
- 'WWW'
- 'WWW'
- 'WWW'
# Define each material below. Material name, e.g. `W` must be 1 capital letter
materials:
W:
type: CRAFTING_TABLE #Crafting Table
To create a custom crafting recipe, you will need to define a layout and a list of materials. The layout is a 3x3 grid represented by three strings with three characters each. Use a single capital letter to represent a specific material or a space if you want the slot to be empty.
In the materials section, you will map the single capital letter used in the layout to the actual Minecraft material. For example, in the example above, 'W' represents a crafting table.
Items use the universal item configuration format from our plugins, https://wiki.advancedplugins.net/configuration/config-items

Using custom items in recipes

You can also use other custom items in crafting recipes! Here's an example of how an item can co-depend on another custom item to be crafted:
recipe:
# Layout for crafting. If you want no item in that slot, use a space ` `
layout:
- 'WWW'
- 'WAW'
- 'WWW'
# Define each material below. Material name, e.g. `W` must be 1 capital letter
materials:
W:
type: CRAFTING_TABLE #Crafting Table
A:
customItem: Teleporter
Simply define customItem in the config, which is custom item's name. This is case sensitive.