minecraft:behavior.send_event आपके लिए सेट कर देता है।Get GodCraftओवरव्यू
minecraft:behavior.send_event एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। मॉब को ऐसा spell चलाने देता है जो दूसरे मॉब पर एक के बाद एक events चलाता है। Evoker इसी से नीली भेड़ों को लाल करता है।
फ़ील्ड
| फ़ील्ड | टाइप | डिफ़ॉल्ट | विवरण |
|---|---|---|---|
cast_duration | Decimal | "Total delay of the steps" | पूरा spell चलाने में कितने सेकंड लगते हैं। |
look_at_target | Boolean | "true" | true होने पर, मॉब उस entity की ओर मुँह करता है जिसे वह events भेजता है। |
sequence | List | कोई नहीं | भेजे जाने वाले events की list, हर एक की अपनी delay और आवाज़ के साथ। |
उदाहरण
BP/entities/<name>.json के components ऑब्जेक्ट के अंदर (मान डिफ़ॉल्ट या placeholder हैं):
BP/entities/<name>.json
{
"minecraft:behavior.send_event": {
"cast_duration": "Total delay of the steps",
"look_at_target": "true",
"sequence": {}
}
}