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

minecraft:leashable_to

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

ओवरव्यू

minecraft:leashable_to एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। प्लेयर्स leash वाली एंटिटीज़ को इस एंटिटी से बाँध सकते हैं, वापस ले सकते हैं, या shears से काटकर छुड़ा सकते हैं। काटना सिर्फ तब काम करता है जब बँधी एंटिटी में "can_be_cut" चालू हो।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
can_retrieve_fromBoolean"false"प्लेयर्स इससे बँधी एंटिटीज़ वापस ले सकते हैं।
unleash_on_removalBoolean"true"कंपोनेंट हटने पर इस एंटिटी से बँधी हर चीज़ को छुड़ा देता है।

उदाहरण

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

BP/entities/<name>.json
{
  "minecraft:leashable_to": {
    "can_retrieve_from": "false",
    "unleash_on_removal": "true"
  }
}

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