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

minecraft:mob_effect

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

ओवरव्यू

minecraft:mob_effect एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। पास की एंटिटीज़ को potion effect देता है, जैसे pufferfish पास आने वाली हर चीज़ को poison कर देती है।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
ambientBoolean"false"Effect को beacon effect की तरह मानता है, हल्के particles के साथ।
cooldown_timeInteger"0"Effect लगाने के बीच इंतज़ार के सेकंड।
effect_rangeDecimal"0.2"Effect पाने के लिए एंटिटी को कितने ब्लॉक पास होना होगा।
effect_timeInteger"10"Effect कितने सेकंड चलता है, या "infinite"।
entity_filterMinecraft Filterकोई नहींकौन सी एंटिटीज़ effect पा सकती हैं।
mob_effectStringकोई नहींदिया जाने वाला effect, जैसे poison।

उदाहरण

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

BP/entities/<name>.json
{
  "minecraft:mob_effect": {
    "ambient": "false",
    "cooldown_time": "0",
    "effect_range": "0.2",
    "effect_time": "10",
    "entity_filter": {},
    "mob_effect": ""
  }
}

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