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

minecraft:mob_effect_immunity

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

ओवरव्यू

minecraft:mob_effect_immunity एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। एंटिटी को लिस्ट में दिए status effects से immune बनाता है, ताकि वे उस पर कभी न लगें। ऐसे आग वाले मॉब के लिए इस्तेमाल करें जिस पर poison असर न करे, या ऐसे बॉस के लिए जिसे धीमा न किया जा सके।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
mob_effectsArrayकोई नहींउन effects के नाम जिन्हें यह एंटिटी ignore करती है, जैसे poison या wither।

उदाहरण

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

BP/entities/<name>.json
{
  "minecraft:mob_effect_immunity": {
    "mob_effects": {}
  }
}

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