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

minecraft:healable

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

ओवरव्यू

minecraft:healable एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। प्लेयर्स एंटिटी को खिलाकर या उस पर आइटम इस्तेमाल करके उसकी health वापस ला सकते हैं, जैसे wolf को मांस देना।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
filtersMinecraft Filterकोई नहींHealing काम करने के लिए पूरी होने वाली शर्तें।
force_useBoolean"false"एंटिटी की health पूरी होने पर भी आइटम इस्तेमाल होने देता है।
itemsArrayकोई नहींHeal करने वाले आइटम, हर एक कितनी health लौटाता है और optional effects।

उदाहरण

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

BP/entities/<name>.json
{
  "minecraft:healable": {
    "filters": {},
    "force_use": "false",
    "items": {}
  }
}

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