1. विकी
  2. /एंटिटी
  3. /minecraft:heartbeat

minecraft:heartbeat

इसे हाथ से नहीं लिखना चाहते? GodCraft एक स्विच से minecraft:heartbeat आपके लिए सेट कर देता है।Get GodCraft

ओवरव्यू

minecraft:heartbeat एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। बार-बार चलने वाले timer पर दिल की धड़कन की आवाज़ बजाता है, जैसे warden।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
intervalMolang"1.00"धड़कनों के बीच के सेकंड देने वाला Molang expression; 0 या कम होने पर धड़कन बंद हो जाती है।
sound_eventString"heartbeat"हर धड़कन पर बजने वाली आवाज़।

उदाहरण

BP/entities/<name>.json के components ऑब्जेक्ट के अंदर (मान डिफ़ॉल्ट या placeholder हैं):

BP/entities/<name>.json
{
  "minecraft:heartbeat": {
    "interval": "1.00",
    "sound_event": "heartbeat"
  }
}

We use cookies to improve your experience and analyse site traffic. Learn more