1. विकी
  2. /रेसिपी
  3. /रेसिपी के प्रकार

रेसिपी के प्रकार

Bedrock की हर रेसिपी का प्रकार एक जगह: shaped, shapeless, furnace, brewing mix और container, smithing transform और trim, उदाहरणों और station tags के साथ।

Minecraft Bedrock में सात तरह की रेसिपी होती हैं। हर एक बिहेवियर पैक में एक JSON फ़ाइल होती है, और हर एक का एक type होता है जो तय करता है कि उसे कौन से fields चाहिए और कौन सा station उसे इस्तेमाल कर सकता है। यह पेज सातों के लिए एक quick reference है, हर एक के लिए Ruby वाले उदाहरण के साथ।

रेसिपी में नए हैं? पहले Crafting और furnace रेसिपी पढ़ें। उसमें patterns, keys, item tags, recipe book (unlock) और priority स्टेप बाय स्टेप समझाए गए हैं। यह पेज उन हिस्सों को दोहराता नहीं।

फ़ाइलें

सभी रेसिपी एक ही फ़ोल्डर में जाती हैं। फ़ाइलों के नाम आप पर हैं, और चीज़ें साफ़-सुथरी रखने के लिए आप subfolders बना सकते हैं।

बिहेवियर पैक
BP/
  recipes/
    ruby_block.json
    ruby_from_block.json
    smelt_raw_ruby.json
    brew_ruby_strength.json
    brew_ruby_splash.json
    ruby_sword_upgrade.json

सातों प्रकार एक नज़र में

TypeStationयह क्या करता है
minecraft:recipe_shapedCrafting tableतय pattern में रखे आइटम से नतीजा बनता है
minecraft:recipe_shapelessCrafting table, stonecutter, cartography tableकिसी भी जगह रखे आइटम से नतीजा बनता है
minecraft:recipe_furnaceFurnace, blast furnace, smoker, campfiresएक आइटम पककर दूसरा बन जाता है
minecraft:recipe_brewing_mixBrewing standpotion का effect बदलता है
minecraft:recipe_brewing_containerBrewing standबोतल का प्रकार बदलता है, जैसे potion से splash potion
minecraft:recipe_smithing_transformSmithing tableएक आइटम को दूसरे में upgrade करता है, उसके enchantments बचाकर
minecraft:recipe_smithing_trimSmithing tablearmor पर रंगीन trim pattern जोड़ता है

हर प्रकार का बाहरी ढाँचा एक जैसा होता है:

हर रेसिपी
{
  "format_version": "1.20.10",
  "minecraft:recipe_shaped": {
    "description": {
      "identifier": "wiki:ruby_block"
    },
    "tags": ["crafting_table"]
  }
}
  • root के नीचे वाली key (यहाँ minecraft:recipe_shaped) ही type है।
  • description.identifier रेसिपी की अपनी ID है। यह unique होनी चाहिए, और यह आइटम ID नहीं है।
  • tags उन stations की लिस्ट है जो इसे स्वीकार करते हैं। नीचे tags फ़ील्ड देखें।

Shaped

आइटम एक pattern में रखे होने चाहिए।

BP/recipes/ruby_block.json
{
  "format_version": "1.20.10",
  "minecraft:recipe_shaped": {
    "description": {
      "identifier": "wiki:ruby_block"
    },
    "tags": ["crafting_table"],
    "pattern": [
      "RRR",
      "RRR",
      "RRR"
    ],
    "key": {
      "R": { "item": "wiki:ruby" }
    },
    "unlock": [{ "item": "wiki:ruby" }],
    "result": { "item": "wiki:ruby_block" }
  }
}
फ़ील्डइसमें क्या होता है
patternज़्यादा से ज़्यादा 3 characters की ज़्यादा से ज़्यादा 3 rows। space एक खाली slot है।
keyहर character का मतलब: एक item या एक item tag
resultआपको मिलने वाला आइटम, optional count के साथ
assume_symmetryOptional। क्या उल्टा (mirrored) pattern भी काम करे। default में करता है।
priorityOptional। दो रेसिपी मैच होने पर कौन सी जीतेगी

result एक लिस्ट भी हो सकता है। पहला आइटम output slot में जाता है, और बाकी भी वापस मिलते हैं। Vanilla cake यही करता है: आपको cake और आपकी तीन खाली buckets वापस मिलती हैं।

result की लिस्ट
"result": [
  { "item": "wiki:ruby_cake" },
  { "item": "minecraft:bucket", "count": 3 }
]

Shapeless

सिर्फ़ सामग्री मायने रखती है, यह नहीं कि वह कहाँ रखी है।

BP/recipes/ruby_from_block.json
{
  "format_version": "1.20.10",
  "minecraft:recipe_shapeless": {
    "description": {
      "identifier": "wiki:ruby_from_block"
    },
    "tags": ["crafting_table"],
    "ingredients": [
      { "item": "wiki:ruby_block" }
    ],
    "unlock": [{ "item": "wiki:ruby_block" }],
    "result": { "item": "wiki:ruby", "count": 9 }
  }
}
फ़ील्डइसमें क्या होता है
ingredientsआइटम (या item tags) की लिस्ट, हर एक optional count के साथ
resultआपको मिलने वाला आइटम
priorityOptional। दो रेसिपी मैच होने पर कौन सी जीतेगी

Stonecutter रेसिपी भी shapeless होती हैं

Stonecutter का अपना कोई type नहीं है। यह एक सामग्री और stonecutter tag वाली shapeless रेसिपी इस्तेमाल करता है:

BP/recipes/ruby_bricks_stonecutting.json
{
  "format_version": "1.20.10",
  "minecraft:recipe_shapeless": {
    "description": {
      "identifier": "wiki:ruby_bricks_stonecutting"
    },
    "tags": ["stonecutter"],
    "ingredients": [{ "item": "wiki:ruby_block" }],
    "unlock": [{ "item": "wiki:ruby_block" }],
    "result": { "item": "wiki:ruby_bricks", "count": 1 }
  }
}

stonecutter मेनू का हर विकल्प एक अलग रेसिपी फ़ाइल है। Vanilla में ऐसी सैकड़ों हैं।

Furnace

एक आइटम अंदर जाता है, दूसरा बाहर आता है। इसमें result नहीं होता: इसके बजाय यह input और output इस्तेमाल करता है।

BP/recipes/smelt_raw_ruby.json
{
  "format_version": "1.20.10",
  "minecraft:recipe_furnace": {
    "description": {
      "identifier": "wiki:smelt_raw_ruby"
    },
    "tags": ["furnace", "blast_furnace"],
    "input": "wiki:raw_ruby",
    "output": "wiki:ruby"
  }
}
फ़ील्डइसमें क्या होता है
inputपकाने वाला आइटम
outputबाहर आने वाला आइटम

ईंधन रेसिपी का हिस्सा नहीं है। कोई भी सामान्य ईंधन चलेगा।

Brewing mix

brewing mix एक potion effect को दूसरे में बदलता है। बोतल का प्रकार वही रहता है: potion potion ही रहता है, splash potion splash potion ही रहता है।

BP/recipes/brew_ruby_strength.json
{
  "format_version": "1.20.10",
  "minecraft:recipe_brewing_mix": {
    "description": {
      "identifier": "wiki:brew_ruby_strength"
    },
    "tags": ["brewing_stand"],
    "input": "minecraft:potion_type:awkward",
    "reagent": "wiki:ruby",
    "output": "minecraft:potion_type:strength"
  }
}
फ़ील्डइसमें क्या होता है
inputनीचे वाले slots में potion, minecraft:potion_type:<name> के रूप में
reagentऊपर वाले slot का आइटम। यह आपका अपना आइटम हो सकता है।
outputआपको मिलने वाला potion, minecraft:potion_type:<name> के रूप में

यहाँ, ruby एक Awkward Potion को Potion of Strength में बदल देती है, बिल्कुल blaze powder की तरह।

Potion के नाम lowercase में होते हैं, शब्दों के बीच _ के साथ। कुछ काम के नाम: water, awkward, mundane, thick, strength, swiftness, healing, regeneration, fire_resistance, slow_falling, water_breathing, invisibility और leaping। Night vision nightvision लिखा जाता है। लंबे versions long_ से शुरू होते हैं (long_strength) और ज़्यादा ताक़तवर वाले strong_ से (strong_strength)।

Brewing container

brewing container रेसिपी बोतल बदलती है, और effect वही रखती है। Vanilla इसे gunpowder (potion से splash potion) और dragon's breath (splash potion से lingering potion) के लिए इस्तेमाल करता है।

BP/recipes/brew_ruby_splash.json
{
  "format_version": "1.20.10",
  "minecraft:recipe_brewing_container": {
    "description": {
      "identifier": "wiki:brew_ruby_splash"
    },
    "tags": ["brewing_stand"],
    "input": "minecraft:potion",
    "reagent": "wiki:ruby_dust",
    "output": "minecraft:splash_potion"
  }
}
फ़ील्डइसमें क्या होता है
inputअंदर जाने वाला बोतल आइटम, जैसे minecraft:potion
reagentऊपर वाले slot का आइटम
outputबाहर आने वाला बोतल आइटम, जैसे minecraft:splash_potion या minecraft:lingering_potion

Smithing transform

smithing table पर एक आइटम को दूसरे में upgrade करता है। पुराने आइटम के enchantments, नाम और damage नए आइटम में आ जाते हैं। Vanilla इसे diamond gear को netherite में बदलने के लिए इस्तेमाल करता है।

BP/recipes/ruby_sword_upgrade.json
{
  "format_version": "1.20.10",
  "minecraft:recipe_smithing_transform": {
    "description": {
      "identifier": "wiki:ruby_sword_upgrade"
    },
    "tags": ["smithing_table"],
    "template": "wiki:ruby_upgrade_template",
    "base": "minecraft:diamond_sword",
    "addition": "wiki:ruby",
    "result": "wiki:ruby_sword"
  }
}
फ़ील्डSlotयह item tag चाहिए
templateबायाँ: smithing templateminecraft:transform_templates
baseबीच वाला: upgrade होने वाला आइटमminecraft:transformable_items
additionदायाँ: materialminecraft:transform_materials
resultupgrade हुआ आइटमकोई नहीं

item tags optional नहीं हैं

smithing table किसी slot में आइटम तभी आने देता है जब उसके पास ऊपर की टेबल वाला tag हो। Vanilla diamond gear के पास पहले से minecraft:transformable_items है। अपने template और material के लिए, minecraft:tags आइटम कंपोनेंट से tags जोड़ें, वरना slots बंद रहेंगे।

BP/items/ruby_upgrade_template.json (components के अंदर)
"minecraft:tags": {
  "tags": ["minecraft:transform_templates"]
}

हर template और material में से सिर्फ़ एक ही खर्च होता है, भले ही stack बड़ा हो।

Smithing trim

armor पर trim pattern जोड़ता है। इसमें कोई result नहीं होता: armor trim लगकर वापस आता है। यह ऐसा दिखता है:

BP/recipes/ruby_armor_trim.json
{
  "format_version": "1.20.10",
  "minecraft:recipe_smithing_trim": {
    "description": {
      "identifier": "wiki:ruby_armor_trim"
    },
    "tags": ["smithing_table"],
    "template": { "tag": "minecraft:trim_templates" },
    "base": { "tag": "minecraft:trimmable_armors" },
    "addition": { "tag": "minecraft:trim_materials" }
  }
}
फ़ील्डSlotयह item tag चाहिए
templatetrim patternminecraft:trim_templates
basearmor का हिस्साminecraft:trimmable_armors
additionरंग तय करने वाला materialminecraft:trim_materials

हर फ़ील्ड एक आइटम लेता है, या ऊपर की तरह एक item tag। यह वही ढाँचा है जो vanilla की अकेली trim रेसिपी इस्तेमाल करती है: क्योंकि यह सिर्फ़ tags इस्तेमाल करती है, यह एक साथ हर template, armor और material को कवर करती है।

कस्टम armor पर trim

आमतौर पर आपको trim रेसिपी की ज़रूरत ही नहीं होती। अपने armor हिस्सों को minecraft:trimmable_armors tag दें और vanilla रेसिपी उन्हें पहले से स्वीकार कर लेती है। armor बनाने के लिए Armor देखें।

tags फ़ील्ड

tags उन stations की लिस्ट है जो किसी रेसिपी को इस्तेमाल कर सकते हैं। हर प्रकार कुछ ख़ास tags के साथ ही समझ में आता है:

रेसिपी का प्रकारयह कौन से tags स्वीकार करता है
Shapedcrafting_table
Shapelesscrafting_table, stonecutter, cartography_table
Furnacefurnace, blast_furnace, smoker, campfire, soul_campfire
Brewing mix और containerbrewing_stand
Smithing transform और trimsmithing_table

कुछ नियम:

  • हर वह station लिखें जो आप चाहते हैं। सिर्फ़ furnace tag वाली furnace रेसिपी smoker में काम नहीं करती।
  • एक प्रकार के अंदर खुलकर मिलाएँ। खाने में आमतौर पर furnace, smoker, campfire और soul_campfire एक साथ लिखे होते हैं।
  • deprecated को नज़रअंदाज़ करें। कुछ vanilla फ़ाइलें पुरानी रेसिपी को दिखाए बिना बनाए रखने के लिए यह tag इस्तेमाल करती हैं। आपकी रेसिपी को इसकी ज़रूरत नहीं।

हर station के बारे में, और 2x2 inventory grid के बारे में और जानकारी Crafting और furnace रेसिपी में है।

जब कुछ गड़बड़ हो

आपको क्या दिखता हैसबसे संभावित कारण
रेसिपी कभी दिखती ही नहींtags लिस्ट में वह station नहीं है
smithing slot मेरा आइटम नहीं ले रहाआइटम के पास वह item tag नहीं है जो slot को चाहिए
brewing रेसिपी कुछ नहीं करतीpotion का नाम गलत है, या minecraft:potion_type: नहीं है
stonecutter मेरी रेसिपी को नज़रअंदाज़ करता हैइसमें एक से ज़्यादा सामग्री है, या यह shapeless नहीं है
दो रेसिपी की ID एक हैहर description.identifier unique होना चाहिए, सभी प्रकारों में

और मदद Troubleshooting में है। अपनी रेसिपी में इस्तेमाल करने के लिए आइटम चाहिए? आपका पहला कस्टम आइटम से शुरू करें।

We use cookies to improve your experience and analyse site traffic. Learn more