Recipe Settings
Less than 1 minute
Warning
This plugin will not be maintained in the short term due to a lack of energy and high school dormitory life, so updates are temporarily suspended. qwp
Caution
Note that this plugin currently has a malicious bug where players can duplicate items. It is recommended to temporarily remove all crafting recipes involving the Philosopher's Stone.
About Recipes
accessories.yml,devices.yml,op_item.yml,recipe.yml
- File content might look like this:
TheItem:
enabled: true
type: "shaped"
shape:
- "XXX"
- "YYY"
- "ZZZ"
ingredients:
- "X": "a item"
- "Y": "b item"
- "Z": "c item"
result:
material: "TheResult"
In the example above:
- enabled: Whether to enable this recipe, defaults to
true
. Iffalse
, this recipe will be removed. - type: Recipe type, "shaped" and "shapeless" represent shaped and shapeless crafting respectively.
- XXX YYY ZZZ represent the items needed for crafting.
- ingredients: The list of items for the recipe.
X
,Y
, andZ
represent the shorthand for the items in the recipe. - result: The result of the recipe.
material
represents the base item of the result.
What's the difference between shaped and shapeless?
For example, a Diamond Sword must be arranged precisely.
Diamond
Diamond
Stick
This is shaped crafting. And items like bone meal that can be crafted by placing them in any grid slot belong to shapeless crafting.
I still don't get the corresponding items for the recipe.
Let's take a Diamond Sword as another example.
Diamond
Diamond
Stick
Then it should be as follows:
TheItem:
enabled: true
type: "shaped" # Shaped crafting
shape:
- "D" # Corresponds to the full name below
- "D"
- "S"
ingredients:
- "D": "DIAMOND" # Full item name
- "S": "STICK"
result:
material: "DIAMOND_SWORD" # Crafted item