minecraft:behavior.find_underwater_treasure आपके लिए सेट कर देता है।Get GodCraftओवरव्यू
minecraft:behavior.find_underwater_treasure एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। AI goal जिससे मॉब सबसे पास के ocean ruin या shipwreck की ओर तैरता है, जैसे dolphin प्लेयर्स को खज़ाने तक ले जाती है।
फ़ील्ड
| फ़ील्ड | टाइप | डिफ़ॉल्ट | विवरण |
|---|---|---|---|
speed_multiplier | number | 1 | खज़ाने की ओर तैरते समय speed multiplier। |
search_range | integer | 0 | मॉब ruin या shipwreck में treasure chest कितनी दूर तक ढूंढता है। |
stop_distance | number | 2 | रुकने से पहले मॉब कितनी दूर तैरता है। |
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.find_underwater_treasure": {
"speed_multiplier": 1,
"search_range": 0,
"stop_distance": 2,
"priority": 0,
"control_flags": []
}
}