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

minecraft:behavior.swim_wander

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

ओवरव्यू

minecraft:behavior.swim_wander एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। जब तैरने वाला मॉब कहीं खास न जा रहा हो, तो उसे पानी में इधर-उधर घुमाता है। मछलियाँ इसका इस्तेमाल करती हैं।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
intervalnumber0.00833मॉब के घूमना शुरू करने की संभावना, 0 से 1 तक।
look_aheadnumber5चीज़ों से टकराने से बचने के लिए मॉब कितना आगे तक देखता है।
speed_multipliernumber1यह goal चलते समय मॉब की स्पीड बढ़ाता या घटाता है: 1 मतलब सामान्य स्पीड।
wander_timenumber5शुरू करने के बाद मॉब कितने सेकंड घूमता रहता है।
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.swim_wander": {
    "interval": 0.00833,
    "look_ahead": 5,
    "speed_multiplier": 1,
    "wander_time": 5,
    "priority": 0,
    "control_flags": []
  }
}

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