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

minecraft:instant_despawn

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

ओवरव्यू

minecraft:instant_despawn एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। कंपोनेंट जुड़ते ही एंटिटी को दुनिया से हटा देता है। बिना drops या death animation के मॉब को साफ़-सुथरे तरीके से हटाने के लिए इसे किसी event से जोड़ें।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
remove_child_entitiesbooleanfalseजुड़ी हुई एंटिटीज़ को भी हटाता है, जैसे leash वाले मॉब्स।

उदाहरण

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

BP/entities/<name>.json
{
  "minecraft:instant_despawn": {
    "remove_child_entities": false
  }
}

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