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

minecraft:exhaustion_values

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

ओवरव्यू

minecraft:exhaustion_values एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। तय करता है कि प्लेयर का हर काम hunger bar को कितना घटाता है। कम वैल्यू पर प्लेयर्स धीरे भूखे होते हैं; किसी काम को मुफ़्त बनाने के लिए उसे 0 करें।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
healnumber6पूरे hunger bar से health regenerate होने पर जुड़ने वाली exhaustion।
jumpnumber0.05हर सामान्य jump पर जुड़ने वाली exhaustion।
sprint_jumpnumber0.2Sprint करते हुए हर jump पर जुड़ने वाली exhaustion।
minenumber0.005हर mine किए गए ब्लॉक पर जुड़ने वाली exhaustion।
attacknumber0.1हर हमले पर जुड़ने वाली exhaustion।
damagenumber0.1Damage लगने पर जुड़ने वाली exhaustion।
walknumber0चलते समय जुड़ने वाली exhaustion।
sprintnumber0.01Sprint करते समय जुड़ने वाली exhaustion।
swimnumber0.01तैरते समय जुड़ने वाली exhaustion।
lungenumber4Lunge enchantment चलने पर जुड़ने वाली exhaustion, उसके level से गुणा होकर।

उदाहरण

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

BP/entities/<name>.json
{
  "minecraft:exhaustion_values": {
    "heal": 6,
    "jump": 0.05,
    "sprint_jump": 0.2,
    "mine": 0.005,
    "attack": 0.1,
    "damage": 0.1,
    "walk": 0,
    "sprint": 0.01
  }
}

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