跳转至

Recipe

文档版本:1.21.0.24

Minecraft recipe

架构

recipe:
{
  string "format_version" : opt
  furnace "minecraft:recipe_furnace"
  container "minecraft:recipe_brewing_container"
  mix "minecraft:recipe_brewing_mix"
  shaped "minecraft:recipe_shaped"
  shapeless "minecraft:recipe_shapeless"
  recipe_smithing_transform "minecraft:recipe_smithing_transform"
}
format_versionstring
A version that tells minecraft what type of data format can be expected when reading this file.
minecraft:recipe_furnacefurnace
furnace:
{
  definition "description"
  tags "tags"
  string "input" : opt
  string "output" : opt
  unlock "unlock"
}
descriptiondefinition
definition:
{
  string "identifier" : opt
}
identifierstring
UNDOCUMENTED.
tagstags
tags:
array
{
  string "<any array element>" : opt
}
<any array element>string
inputstring
Items used as input for the furnace recipe.
outputstring
Items used as output for the furnace recipe.
unlockunlock
unlock:
{
  string "context" : opt
}
contextstring
The context of the achievement to unlock
unlock:
array
{
  object "<any array element>" : opt
  {
    string "item" : opt
    integer "data" : opt
  }
  object "<any array element>" : opt
  {
    string "tag" : opt
  }
}
<any array element>object
<any array element>
itemstring
The item to unlock
datainteger
The data of the item to unlock
<any array element>object
<any array element>
tagstring
The item to unlock
minecraft:recipe_brewing_containercontainer
container:
{
  definition "description"
  tags "tags"
  unlock "unlock"
  string "input" : opt
  string "output" : opt
  string "reagent" : opt
}
descriptiondefinition
tagstags
unlockunlock
inputstring
Input potion used on the brewing stand.
outputstring
Output potion from mixing the input potion with the reagent on the brewing stand.
reagentstring
Item used to mix with the input potion.
minecraft:recipe_brewing_mixmix
mix:
{
  definition "description"
  tags "tags"
  unlock "unlock"
  string "input" : opt
  string "output" : opt
  string "reagent" : opt
}
descriptiondefinition
tagstags
unlockunlock
inputstring
Input potion used on the brewing stand.
outputstring
Output potion from mixing the input potion with the reagent on the brewing stand.
reagentstring
Item used to mix with the input potion.
minecraft:recipe_shapedshaped
shaped:
{
  definition "description"
  tags "tags"
  unlock "unlock"
  object "key" : opt
  {
    item "<any object property>"
  }
  string "group" : opt
  array "pattern" : opt
  {
    string "<any array element>" : opt
  }
  integer "priority" : opt
  item "result"
  array "result" : opt
  {
    item "<any array element>"
  }
  boolean "assume_symmetry" : opt
}
descriptiondefinition
tagstags
unlockunlock
keyobject
Patten key character mapped to item names.
key
<any object property>item
item:
string
item:
{
  string "item" : opt
  integer "data" : opt
  integer "count" : opt
}
itemstring
datainteger
countinteger
item:
{
  string "tag" : opt
}
tagstring
The item to unlock
groupstring
UNDOCUMENTED.
patternarray
Characters that represent a pattern to be defined by keys.
pattern
<any array element>string
priorityinteger
Item used as output for the furnace recipe.
resultitem
When input items match the pattern then these items are the result.
resultarray
When input items match the pattern then these items are the result.
result
<any array element>item
assume_symmetryboolean
Used to automatically assume a symmetrical recipe should return the same resultUsed to automatically assume a symmetrical recipe should return the same result
minecraft:recipe_shapelessshapeless
shapeless:
{
  definition "description"
  tags "tags"
  unlock "unlock"
  item "ingredients"
  array "ingredients" : opt
  {
    item "<any array element>"
  }
  string "group" : opt
  integer "priority" : opt
  item "result"
  array "result" : opt
  {
    item "<any array element>"
  }
}
descriptiondefinition
tagstags
unlockunlock
ingredientsitem
Items used as input (without a shape) for the recipe.
ingredientsarray
Items used as input (without a shape) for the recipe.
ingredients
<any array element>item
groupstring
UNDOCUMENTED.
priorityinteger
Item used as output for the furnace recipe.
resultitem
When input items match the pattern then these items are the result.
resultarray
When input items match the pattern then these items are the result.
result
<any array element>item
minecraft:recipe_smithing_transformrecipe_smithing_transform
recipe_smithing_transform:
{
  definition "description"
  tags "tags"
  unlock "unlock"
  item "base"
  array "base" : opt
  {
    item "<any array element>"
  }
  item "addition"
  array "addition" : opt
  {
    item "<any array element>"
  }
  item "result"
  array "result" : opt
  {
    item "<any array element>"
  }
}
descriptiondefinition
tagstags
unlockunlock
baseitem
Item used as base for the smithing recipe.
basearray
Item used as base for the smithing recipe.
base
<any array element>item
additionitem
Item used as addition for the smithing recipe.
additionarray
Item used as addition for the smithing recipe.
addition
<any array element>item
resultitem
When input items match the pattern then these items are the result.
resultarray
When input items match the pattern then these items are the result.
result
<any array element>item