1. विकी
  2. /एंटिटी
  3. /minecraft:combat_regeneration

minecraft:combat_regeneration

इसे हाथ से नहीं लिखना चाहते? GodCraft एक स्विच से minecraft:combat_regeneration आपके लिए सेट कर देता है।Get GodCraft

ओवरव्यू

minecraft:combat_regeneration एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। जब इस मॉब का टारगेट मारा जाता है, तो मारने वाले को Regeneration I मिलता है और Mining Fatigue हट जाता है। Wolves लड़ाई के बाद ठीक होने के लिए इसे इस्तेमाल करते हैं।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
apply_to_familyBoolean"false"Kill करने वाले उसी टाइप के मॉब्स को भी यह buff देता है।
apply_to_selfBoolean"false"Kill करने पर इस मॉब को buff देता है।
regeneration_durationInteger"5"Regeneration I के सेकंड, या "infinite"।

उदाहरण

BP/entities/<name>.json के components ऑब्जेक्ट के अंदर (मान डिफ़ॉल्ट या placeholder हैं):

BP/entities/<name>.json
{
  "minecraft:combat_regeneration": {
    "apply_to_family": "false",
    "apply_to_self": "false",
    "regeneration_duration": "5"
  }
}

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