Skip to content

Shapeless Recipes ​

Shapeless recipes do not require ingredients to be placed in a specific pattern. Players can put ingredients in any slot of the crafting table.

YAML Example ​

yaml
type: 'vanilla_shapeless'
result: 'minecraft:magenta_dye'
group: 'dye'
ingredients:
  - 'minecraft:red_dye'
  - 'minecraft:blue_dye'
recipe_book_category: misc

Fields ​

FieldTypeRequiredDescription
typestringYesMust be vanilla_shapeless
resultstringYesOutput item ID
ingredientslistYesList of item IDs (order does not matter)
groupstringNoRecipe group name
recipe_book_categorystringNoRecipe book category
fake_result_previewstringNoFake preview item shown during crafting

Difference from Shaped Recipes ​

  • No shape field
  • ingredients is a list instead of a map
  • Ingredients can be placed in any crafting table slot

Ingredient Limits ​

  • Minimum 1, maximum 9 ingredients
  • The number of items in the list equals the number of required ingredients
yaml
# Requires 3 different ingredients
ingredients:
  - 'minecraft:iron_ingot'
  - 'minecraft:gold_ingot'
  - 'minecraft:diamond'

基于 GPL-3.0 许可证发布