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

minecraft:breathable

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

ओवरव्यू

minecraft:breathable एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। तय करता है कि एंटिटी कहाँ साँस ले सकती है और damage लगने से पहले कितनी देर साँस रोक सकती है। मछलियों, lava मॉब्स या ऐसे जीवों के लिए इस्तेमाल करें जिन्हें हवा की ज़रूरत ही नहीं।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
breathe_blocksListकोई नहींअतिरिक्त ब्लॉक्स जिनके अंदर एंटिटी साँस ले सकती है।
breathes_airBoolean"true"क्या एंटिटी खुली हवा में साँस ले सकती है।
breathes_lavaBoolean"true"क्या एंटिटी lava के अंदर साँस ले सकती है।
breathes_solidsBoolean"false"क्या एंटिटी ठोस ब्लॉक्स में फँसी रहकर भी साँस ले सकती है।
breathes_waterBoolean"false"क्या एंटिटी पानी के अंदर साँस ले सकती है।
generates_bubblesBoolean"true"पानी में होने पर एंटिटी के आसपास बुलबुलों के particles दिखाता है।
inhale_timeDecimal"0"साँस का bar पूरा भरने में लगने वाले सेकंड।
non_breathe_blocksListकोई नहींअतिरिक्त ब्लॉक्स जिनके अंदर एंटिटी साँस नहीं ले सकती।
suffocate_timeInteger"-20"साँस खत्म होने के बाद हर damage के बीच के सेकंड।
total_supplyInteger"15"एंटिटी कितने सेकंड तक साँस रोक सकती है।

उदाहरण

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

BP/entities/<name>.json
{
  "minecraft:breathable": {
    "breathe_blocks": {},
    "breathes_air": "true",
    "breathes_lava": "true",
    "breathes_solids": "false",
    "breathes_water": "false",
    "generates_bubbles": "true",
    "inhale_time": "0",
    "non_breathe_blocks": {}
  }
}

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