minecraft:exhaustion_values आपके लिए सेट कर देता है।Get GodCraftओवरव्यू
minecraft:exhaustion_values एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। तय करता है कि प्लेयर का हर काम hunger bar को कितना घटाता है। कम वैल्यू पर प्लेयर्स धीरे भूखे होते हैं; किसी काम को मुफ़्त बनाने के लिए उसे 0 करें।
फ़ील्ड
| फ़ील्ड | टाइप | डिफ़ॉल्ट | विवरण |
|---|---|---|---|
heal | number | 6 | पूरे hunger bar से health regenerate होने पर जुड़ने वाली exhaustion। |
jump | number | 0.05 | हर सामान्य jump पर जुड़ने वाली exhaustion। |
sprint_jump | number | 0.2 | Sprint करते हुए हर jump पर जुड़ने वाली exhaustion। |
mine | number | 0.005 | हर mine किए गए ब्लॉक पर जुड़ने वाली exhaustion। |
attack | number | 0.1 | हर हमले पर जुड़ने वाली exhaustion। |
damage | number | 0.1 | Damage लगने पर जुड़ने वाली exhaustion। |
walk | number | 0 | चलते समय जुड़ने वाली exhaustion। |
sprint | number | 0.01 | Sprint करते समय जुड़ने वाली exhaustion। |
swim | number | 0.01 | तैरते समय जुड़ने वाली exhaustion। |
lunge | number | 4 | Lunge 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
}
}