minecraft:instant_despawn आपके लिए सेट कर देता है।Get GodCraftओवरव्यू
minecraft:instant_despawn एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। कंपोनेंट जुड़ते ही एंटिटी को दुनिया से हटा देता है। बिना drops या death animation के मॉब को साफ़-सुथरे तरीके से हटाने के लिए इसे किसी event से जोड़ें।
फ़ील्ड
| फ़ील्ड | टाइप | डिफ़ॉल्ट | विवरण |
|---|---|---|---|
remove_child_entities | boolean | false | जुड़ी हुई एंटिटीज़ को भी हटाता है, जैसे leash वाले मॉब्स। |
उदाहरण
BP/entities/<name>.json के components ऑब्जेक्ट के अंदर (मान डिफ़ॉल्ट या placeholder हैं):
BP/entities/<name>.json
{
"minecraft:instant_despawn": {
"remove_child_entities": false
}
}