minecraft:heartbeat आपके लिए सेट कर देता है।Get GodCraftओवरव्यू
minecraft:heartbeat एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। बार-बार चलने वाले timer पर दिल की धड़कन की आवाज़ बजाता है, जैसे warden।
फ़ील्ड
| फ़ील्ड | टाइप | डिफ़ॉल्ट | विवरण |
|---|---|---|---|
interval | Molang | "1.00" | धड़कनों के बीच के सेकंड देने वाला Molang expression; 0 या कम होने पर धड़कन बंद हो जाती है। |
sound_event | String | "heartbeat" | हर धड़कन पर बजने वाली आवाज़। |
उदाहरण
BP/entities/<name>.json के components ऑब्जेक्ट के अंदर (मान डिफ़ॉल्ट या placeholder हैं):
BP/entities/<name>.json
{
"minecraft:heartbeat": {
"interval": "1.00",
"sound_event": "heartbeat"
}
}