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

minecraft:nameable

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

ओवरव्यू

minecraft:nameable एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। प्लेयर्स एंटिटी को custom नाम दे सकते हैं, जैसे name tag से। खास नाम मिलने पर आप events भी चला सकते हैं, जैसे sheep पर "jeb_" वाली ट्रिक।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
allow_name_tag_renamingBoolean"true"true होने पर प्लेयर्स name tag से एंटिटी का नाम बदल सकते हैं।
always_showBoolean"false"true होने पर नाम एंटिटी के ऊपर हमेशा दिखता है, भले आप उसे न देख रहे हों।
default_triggerStringकोई नहींएंटिटी को कोई भी नाम मिलने पर चलने वाला event।
name_actionsJSON Objectकोई नहींखास नाम और हर नाम मिलने पर चलने वाले events।

उदाहरण

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

BP/entities/<name>.json
{
  "minecraft:nameable": {
    "allow_name_tag_renaming": "true",
    "always_show": "false",
    "default_trigger": "",
    "name_actions": {}
  }
}

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