본문으로 건너뛰기

레시피 레퍼런스 (1/3)

MS Learn(MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0)의 레퍼런스를 발췌한 쪽이다. 원문의 상대 링크는 제거했다.

(출처: ms-learn, creator/Documents/RecipeIntroduction.md)

Recipe Introduction​

Recipes in Minecraft are very similar to recipes in real life. You gather a variety of components, prepare them in a specific and unique way, and in the end you create something new and wonderful. The main difference is that in Minecraft, recipes aren't limited to food — you use them to build furniture, complex resources, and more!

In this article, we'll look at the basic components of a recipe and go over the different recipe types to help you get started.

Recipe Parameters​

Recipe parameters are the building blocks that make up the recipe. To continue the analogy from earlier — these are our ingredients! While all recipes have parameters, not all recipes share the SAME parameters.

NameDescriptionType(s)
InputDefines the items used to create a recipeFurnace; Potion
OutputDefines the item a certain recipe createsFurnace; Potion
TagsDefine items that can be used to create a recipeAll
PatternRepresents the item and pattern configuration required to produce the result you assignShaped
KeyAssigns a Minecraft item to the key(s) you used in the patternShaped
PrioritySets the priority level of a recipe (lower numbers represent a higher priority)Shaped; Shapeless
ResultWhen input items match the pattern, these items are the resultShaped; Shapeless; Smithing Transform
IngredientsDefine the items required to complete a recipe (regardless of their orientation in the table)Shapeless
ReagentDefines the items combined with a potion in a brewing container recipePotion
AdditionDefines the items used to perform the transformationSmithing Transform
BaseDefines the item that will be transformedSmithing Transform

Recipe Tags​

Recipe tags let you group similar elements together. For example, you can combine different types of wood stairs to construct a recipe that can adapt to a variety of parameters. See this article for more information on recipe tags.

Recipe Types​

Shaped vs. Shapeless Recipes​

Players use Shaped Recipes at a crafting table, and must place recipe components in a dedicated pattern to generate the output assigned to them. As a creator, you can use resource and behavior packs to tweak pattern assignments and output parameters to make them perfect for your world.

[!Note] The maximum recipe size supported is 3x3, so anything after the third character in a pattern is ignored.

Shapeless recipes are any recipes that don't require a dedicated pattern to generate the output assigned to them. As a creator, you can also leverage resource and behavior packs to edit and create new shapeless recipes, but the parameters used differ slightly.

NameDescriptionType(s)
TagsDefine items that can be used to create a recipeBoth
PatternRepresents the item and pattern configuration required to produce the result you assignShaped
KeyAssigns a Minecraft item to the key(s) you used in the patternShaped
IngredientsDefine the items required to complete a recipe (regardless of their orientation in the table)Shapeless
PrioritySets the priority level of a recipe (lower numbers represent a higher priority)Both
ResultWhen input items match the pattern, these items are the resultBoth
Furnace Recipes​

These are recipes that require a furnace to generate the output assigned to them. When players place the correct item(s) into the furnace (the ones you define as an input in the table's JSON), they transform into the corresponding output assigned in the table. Check out the furnace reference documentation for examples and a more detailed explanation of furnace recipe tables.

NameDescription
TagsDefine items that can be used to create a recipe
InputDefines the items used to create a recipe
OutputDefines the item a certain recipe creates
Potion Brewing Recipes​

Potions require players to use both a potion brewing mix and a potion brewing container, which is created at a potion brewing station. As a creator, you can use resource and behavior packs to tweak the parameters for these potions, stations, and containers. Check out our potion brewing mix reference documentation for examples and a more detailed explanation of potion brewing tables.

NameDescription
TagsDefine items that can be used to create a recipe
InputDefines the items used to create a recipe
ReagentDefines the items combined with a potion in a brewing container recipe
OutputDefines the item a certain recipe creates
Smithing Transform Recipes​

Players use Smithing Transform recipes at a smithing table to retain an item's properties while transforming it into another item. Check out our reference documentation for examples and a more detailed explanation of smithing transform recipes.

NameDescription
BaseDefines the item that will be transformed
AdditionDefines the items used to perform the transformation
ResultWhen input items match the pattern, these items are the result
Smithing Trim Recipes​

Players use Smithing Trim recipes at a smithing table to add a color trim to an item while retaining the item's properties. Check out our smithing trim reference documentation for examples and a more detailed explanation of smithing trim recipes.

Recipe Unlocking​

As of v1.20.10, players can "unlock" recipes ranging from basic starters (like a wooden pickaxe) to some of the most sophisticated items Minecraft has to offer (like diamond ore or enchanted golden apples)! As part of the item and recipe design process, you can define the requirements for unlocking an item with the unlock element in your recipe JSON.

[!Tip] You can choose an unlock strategy for a recipe based on either the discovery of an item or a specific in-world context.

Unlocking Examples​
  • An item specifies the item to unlock. Optionally you can add a data tag to filter down to a specific type of item.

    Acacia Planks:

    "unlock": [
    {
    "item": "minecraft:wood",
    "data": 4
    }
    ]
  • A context can be one of the following three values:

    • AlwaysUnlocked: Always unlocks the item when the specified context is met

    • PlayerInWater: Unlocks the item the first time the player enters the water

    • PlayerHasManyItems: Player has more than 10 items in their inventory

Crafting table:

"unlock": {
"context": "AlwaysUnlocked"
}

Chest:

"unlock": {
"context": "PlayerHasManyItems"
}

(출처: ms-learn, creator/Reference/Content/RecipeReference/Examples/RecipeDefinitionList.md)

Recipe Documentation - Recipe Definition List​

Recipes are setup in JSON files under the behavior_packs/'name of pack'/recipes directory. Recipe JSON files have different structures dependent on their type.

List of Recipes​

Type of RecipeDescription
FurnaceRepresents a recipe for use with a Furnace. 'Input' items will burn and transform into items specified in 'output.'
ShapedRepresents a recipe that requires a dedicated pattern when using a Crafting Table.
ShapelessRepresents a recipe that does not require a dedicated pattern.
Potion BrewingRepresents a recipe that for use with a Potion Brewing station.
Potion Brewing MixRepresents a Potion Brewing Mix.
Smithing TransformRepresents a smithing transform recipe for the Smithing Table.
Smithing TrimRepresents a smithing trim recipe for the Smithing Table.

(출처: ms-learn, creator/Reference/Content/RecipeReference/Examples/RecipeDefinitions/RecipeTagList.md)

Recipe Documentation - Tags for Recipes​

Tags can now be used as input for recipe creation. The following tags are current as of the release of Minecraft: Bedrock Edition version 1.19.50.

List of Tags​

  • Armor - "minecraft:is_armor"
  • Arrows - "minecraft:arrow"
  • Banners - "minecraft:banner"
  • Boats – "minecraft:boats"
  • Bookshelf Books - "minecraft:bookshelf_books"
  • Chainmail Tier - "minecraft:chainmail_tier"
  • Chest Boat - "minecraft:chest_boat"
  • Coals - "minecraft:coals"
  • Cooked - "minecraft:is_cooked"
  • Crimson Stems - "minecraft:crimson_stems"
  • Diamond Tier - "minecraft:diamond_tier"
  • Digger - "minecraft:digger"
  • Door - "minecraft:door"
  • Fish - "minecraft:is_fish"
  • Food - "minecraft:is_food"
  • Golden Tier - "minecraft:golden_tier"
  • Hanging Actor - "minecraft:hanging_actor"
  • Hanging Sign - "minecraft:hanging_sign"
  • Hatchet - "minecraft:is_axe"
  • Hoe - "minecraft:is_hoe"
  • Horse Armor - "minecraft:horse_armor"
  • Iron Tier - "minecraft:iron_tier"
  • Leather Tier - "minecraft:leather_tier"
  • Lectern Books - "minecraft:lectern_books"
  • Logs - "minecraft:logs"
  • Logs that Burn - "minecraft:logs_that_burn"
  • Mangrove Logs - "minecraft:mangrove_logs"
  • Meat - "minecraft:is_meat"
  • Minecart - "minecraft:is_minecart"
  • Music Discs - "minecraft:music_disc"
  • Netherite Tier - "minecraft:netherite_tier"
  • Pickaxe - "minecraft:is_pickaxe"
  • Piglin Loved - "minecraft:piglin_loved"
  • Piglin Repellents - "minecraft:piglin_repellents"
  • Planks - "minecraft:planks"
  • Sand - "minecraft:sand"
  • Shovel - "minecraft:is_shovel"
  • Sign - "minecraft:sign"
  • Soul Fire Base Blocks - "minecraft:soul_fire_base_blocks"
  • Spawn Egg - "minecraft:spawn_egg"
  • Stone Bricks - "minecraft:stone_bricks"
  • Stone Crafting Materials - "minecraft:stone_crafting_materials"
  • Stone Tier - "minecraft:stone_tier"
  • Stone Tool Materials - "minecraft:stone_tool_materials"
  • Sword - "minecraft:is_sword"
  • Tool - "minecraft:is_tool"
  • Vibration Damper - "minecraft:vibration_damper"
  • Warped Stems - "minecraft:warped_stems"
  • Wooden Slabs - "minecraft:wooden_slabs"
  • Wooden Tier - "minecraft:wooden_tier"
  • Wool - "minecraft:wool"

(출처: ms-learn, creator/Reference/Content/RecipeReference/Examples/RecipeDefinitions/TagsRecipeInput.md)

Use Tags as Recipe Input​

Imagine you are a creator, and you want to create a desk that can be crafted from any type of plank. Sounds pretty straightforward, right?

Currently, you will have to create AT LEAST four versions of the recipe (as shown in the examples), with more if you intend on creating any custom planks. Additionally, you will have to stay diligent if you want the recipe(s) to stay relevant, as any new planks added to the game will require additional recipe variations.

Recipe 1: PlanksRecipe 2: Mangrove Planks
Recipe 3: Warped PlanksRecipe 4: Crimson Planks

Fortunately, tags may now be used as recipe input, streamlining the process greatly. Using this new functionality in the scenario above, your effort in creating a desk that can be made from planks will now look like this:

That's right, just one recipe! Not only does this account for all types of planks currently in the game, it will work for any custom plank and any future plank added to the game, provided they are tagged properly.

Now that you're familiar with the basics of using tags as input, you're ready to start experimenting. Create a recipe that uses both tags and items, set up a recipe that use multiple tags, and more!

As with most things in Minecraft: Bedrock Edition, the only limit is your imagination.

In order to assist you in the creation process, we have provided a list of all tags current as of Minecraft:Bedrock Edition Version 1.19.50.

(출처: ms-learn, creator/Reference/Content/RecipeReference/Examples/RecipeDefinitions/minecraftRecipe_Furnace.md)

Recipe Documentation - Furnace Recipe​

Represents a recipe that is to be used with a furnace. Input items will burn and transform into items specified in output.

Parameters​

NameTypeDescription
inputitem namesItems used as input for the furnace recipe. data is used to specify the data value of a block or item to an exact id, if the item has variations. count is the quantity of the item being input.
outputitem namesItems used as output for the furnace recipe.
tagsString arrayItem that can create the furnace recipe, such as "furnace".

Furnace Recipe Example​

{
"format_version": "1.17",
"minecraft:recipe_furnace": {
"description": {
"identifier": "minecraft:furnace_beef"
},
"tags": ["furnace", "smoker", "campfire", "soul_campfire"],
"input": {
"item": "minecraft:beef",
"data": 0,
"count": 4
},
"output ": "minecraft:cooked_beef"
}
}

Vanilla Example​

Cobblestone​

:::code language="json" source="../../../../Source/VanillaBehaviorPack/recipes/furnace_cobblestone.json":::

(출처: ms-learn, creator/Reference/Content/RecipeReference/Examples/RecipeDefinitions/minecraftRecipe_PotionBrewing.md)

Recipe Documentation - Potion Brewing Container Recipe​

Represents a Potion Brewing Container Recipe.

Parameters​

NameTypeDescription
inputpotionInput potion used in the brewing container recipe.
outputpotionOutput potion from the brewing container recipe.
reagentitemItem used in the brewing container recipe with the input potion.
tagsString arrayItem that can create the Brewing Container Recipe, such as "brewing_stand".

Potion Brewing Container Recipe Example​

{
"format_version": "1.17",
"minecraft:recipe_brewing_container": {
"description": {
"identifier": "minecraft:brew_potion_sulphur"
},
"tags": [ "brewing_stand" ],
"input": "minecraft:potion",
"reagent": "minecraft:gunpowder",
"output": "minecraft:splash_potion"
}
}

Vanilla Example​

Brew Potion Sulphur​

:::code language="json" source="../../../../Source/VanillaBehaviorPack/recipes/brew_potion_sulphur.json":::

(출처: ms-learn, creator/Reference/Content/RecipeReference/Examples/RecipeDefinitions/minecraftRecipe_PotionBrewingMix.md)

Recipe Documentation - Potion Brewing Mix​

Represents a Potion Brewing Mix.

Parameters​

NameTypeDescription
inputpotionInput potion used on the brewing stand.
outputpotionOutput potion from mixing the input potion with the reagent on the brewing stand.
reagentitemItem used to mix with input potion.
tagsString arrayItem used to make a brewing mix.

Potion Brewing Mix Example​

{
"format_version": "1.18",
"minecraft:recipe_brewing_mix": {
"description": {
"identifier": "minecraft:brew_awkward_blaze_powder"
},

"tags": [ "brewing_stand" ],

"input": "minecraft:potion_type:awkward",
"reagent": "minecraft:blaze_powder",
"output": "minecraft:potion_type:strength"

}
}

Vanilla Example​

Slow-Falling Redstone potion​

:::code language="json" source="../../../../Source/VanillaBehaviorPack/recipes/brew_slow_falling_redstone.json":::

(출처: ms-learn, creator/Reference/Content/RecipeReference/Examples/RecipeDefinitions/minecraftRecipe_Shaped.md)

Recipe Documentation - Shaped Recipe​

Represents a crafting recipe that is to be used with a crafting table. The key used in the pattern may be any single character except the 'space' character, which is reserved for empty slots in a recipe.

Parameters​

NameTypeDefaultDescription
assume_symmetryBooleanDetermines if the recipe should assume symmetry or not.
keyarray of key and item pairsnot setPattern key character mapped to item names.
patternString arraynot setCharacters that represent a pattern to be defined by keys.
priorityIntegernot setSets the priority order of the recipe. Lower numbers represent a higher priority.
resultarray of item namesnot setWhen input items match the pattern then these items are the result.
tagsString arraynot setItem that can create the shaped recipe, such as "crafting_table".
assume_symmetrybooleantrueUsed to automatically assume a symmetrical recipe should return the same result.
key and pattern​

The key used in the pattern may be any single character except the 'space' character, which is reserved for empty slots in a recipe.

Shaped Recipe Example​

{
"format_version": "1.17",
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:acacia_boat"
},
"tags": [ "crafting_table" ],
"pattern": [
"#P#",
"###"
],
"key": {
"P": {
"item": "minecraft:wooden_shovel"
},
"#": {
"item": "minecraft:planks",
"data": 4
}
},
"result": {
"item": "minecraft:boat",
"data": 4
}
}
}

Shaped Recipes with assume_symmetry Property Set​

assume_symmetry is an optional field. If not set, it will default to true. By setting it to false, you can define mirrored versions of a recipe and have different results.

{
"format_version": "1.19",
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:zig"
},
"tags": [ "crafting_table" ],
"assume_symmetry": false,
"pattern": [
"##",
" ##"
],
"key": {
"#": {
"item": "minecraft:planks"
}
},
"result": {
"item": "minecraft:zig"
}
}
}
{
"format_version": "1.20",
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:zag"
},
"tags": [ "crafting_table" ],
"assume_symmetry": false,
"pattern": [
" ##",
"##"
],
"key": {
"#": {
"item": "minecraft:planks"
}
},
"result": {
"item": "minecraft:zag"
}
}
}

Vanilla Example​

Iron Pickaxe​

:::code language="json" source="../../../../Source/VanillaBehaviorPack/recipes/iron_pickaxe.json":::

(출처: ms-learn, creator/Reference/Content/RecipeReference/Examples/RecipeDefinitions/minecraftRecipe_Shapeless.md)

Recipe Documentation - Shapeless Recipe​

Represents a shapeless crafting recipe.

[!NOTE] Unlike a Shaped Recipe, pattern and key are not used when defining a Shapeless Recipe.

Parameters​

NameTypeDescription
ingredientsRecipeItem ArrayItems used as input (without a shape) for the recipe.
priorityIntegerSets the priority order of the recipe. Lower numbers represent a higher priority.
resultArray of item namesThese items are the result.
tagsString arrayItem that can create the shapeless recipe such as "stonecutter".
RecipeIngredient​

A ingredient for a shapeless crafting recipe.

NameDefault ValueTypeDescription
itemnot setstringThe item typeId to be used ex, "minecraft:string"
data0numberThe data aux id to be used
count1numberThe count of this item.

Shapeless Recipe Example​

{
"format_version": "1.17",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:firecharge_coal_sulphur"
},
"priority": 0,
"ingredients": [
{
"item": "minecraft:fireball",
"data": 0,
"count": 4
}
],
"result": {
"item": "minecraft:blaze_powder",
"data": 4
}
}
}

Vanilla Example​

Blaze Powder​

:::code language="json" source="../../../../Source/VanillaBehaviorPack/recipes/blaze_powder.json":::

Stonecutter Andesite Wall (with optional tag parameter)​

:::code language="json" source="../../../../Source/VanillaBehaviorPack/recipes/stonecutter_andesite_wall.json":::

출처
id출처라이선스커밋접근일
ms-learnMinecraft Creator 문서 (Microsoft Learn)CC BY 4.0 (문서), MIT (코드)a9fd1c02026-11-13