minecraft:behavior.mount_pathing आपके लिए सेट कर देता है।Get GodCraftओवरव्यू
minecraft:behavior.mount_pathing एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। AI goal जिससे सवार वाला मॉब हमला करने के लिए खुद टारगेट की ओर चलता रहता है, जैसे spider jockey की मकड़ी।
फ़ील्ड
| फ़ील्ड | टाइप | डिफ़ॉल्ट | विवरण |
|---|---|---|---|
speed_multiplier | number | 1 | चलते समय speed multiplier। |
target_dist | number | 0 | मॉब अपने टारगेट से कितनी दूर रहना चाहता है। |
track_target | boolean | false | true हो तो टारगेट के वैध रहने तक मॉब उसका पीछा करता रहता है। |
priority | integer | 0 | कम नंबर पहले चलता है: जब दो goals आपस में टकराते हैं, तो छोटी priority वाला जीतता है।रेंज: 0 से … |
control_flags | Goal's control flags[] | कोई नहीं | यह goal शरीर के किन हिस्सों (move, look, jump) को अपने कब्ज़े में लेता है, ताकि एक ही हिस्से इस्तेमाल करने वाले goals साथ में न चलें। |
उदाहरण
BP/entities/<name>.json के components ऑब्जेक्ट के अंदर (मान डिफ़ॉल्ट या placeholder हैं):
BP/entities/<name>.json
{
"minecraft:behavior.mount_pathing": {
"speed_multiplier": 1,
"target_dist": 0,
"track_target": false,
"priority": 0,
"control_flags": []
}
}