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

minecraft:behavior.scared

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

ओवरव्यू

minecraft:behavior.scared एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। तूफ़ान के दौरान मॉब को डराता है, जैसे पांडा अपनी आँखें ढक लेता है।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
sound_delayinteger0डरने की आवाज़ कितनी बार बजे: हर बार sound_delay में 1 की संभावना।
priorityinteger0जब कई goal एक साथ चलना चाहें तो तय करता है कि कौन चलेगा: छोटी संख्या वाला पहले चलता है।रेंज: 0 से …
control_flagsGoal's control flags[]कोई नहींबताता है कि यह goal शरीर के किन हिस्सों का कंट्रोल लेता है (जैसे move, look या jump), ताकि एक ही हिस्से वाले goal साथ में न चलें।

उदाहरण

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

BP/entities/<name>.json
{
  "minecraft:behavior.scared": {
    "sound_delay": 0,
    "priority": 0,
    "control_flags": []
  }
}

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