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

minecraft:behavior.mingle

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

ओवरव्यू

minecraft:behavior.mingle एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। AI goal जिससे मॉब गांव की घंटी के पास जाकर वहां दूसरों से बातें करता है, जैसे इकट्ठा होने के समय villagers।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
durationnumber1मॉब साथी से कितने सेकंड बातें करता है।रेंज: 0 से …
cooldown_timenumber0goal के दोबारा चलने से पहले इंतज़ार के सेकंड।रेंज: 0 से …
mingle_partner_typestring""एंटिटी टाइप जिससे यह मॉब बातें कर सकता है।
mingle_distancenumber2मॉब अपने साथी से कितनी दूर खड़ा होता है। साथी अलग टाइप का हो तो दोनों पर एक ही वैल्यू रखें।रेंज: 0 से …
speed_multipliernumber1घंटी की ओर चलते समय speed multiplier।रेंज: 0 से …
priorityinteger0कम नंबर पहले चलता है: जब दो goals आपस में टकराते हैं, तो छोटी priority वाला जीतता है।रेंज: 0 से …
control_flagsGoal's control flags[]कोई नहींयह goal शरीर के किन हिस्सों (move, look, jump) को अपने कब्ज़े में लेता है, ताकि एक ही हिस्से इस्तेमाल करने वाले goals साथ में न चलें।

उदाहरण

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

BP/entities/<name>.json
{
  "minecraft:behavior.mingle": {
    "duration": 1,
    "cooldown_time": 0,
    "mingle_partner_type": "",
    "mingle_distance": 2,
    "speed_multiplier": 1,
    "priority": 0,
    "control_flags": []
  }
}

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