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

minecraft:behavior.admire_item

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

ओवरव्यू

minecraft:behavior.admire_item एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। AI goal जिससे मॉब अपनी पसंद का आइटम ऊपर उठाकर देखता है। काम करने के लिए minecraft:admire_item कंपोनेंट ज़रूरी है।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
admire_item_soundstring""निहारते समय बजने वाला sound event।
sound_intervalFloatRange{"max":0,"min":0}निहारने की आवाज़ों के बीच रैंडम इंतज़ार की रेंज, सेकंड में।
on_admire_item_startActorDefinitionTrigger{"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"}मॉब के निहारना शुरू करने पर चलने वाला इवेंट।
on_admire_item_stopActorDefinitionTrigger{"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"}मॉब के निहारना बंद करने पर चलने वाला इवेंट।
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.admire_item": {
    "admire_item_sound": "",
    "sound_interval": {
      "max": 0,
      "min": 0
    },
    "on_admire_item_start": {
      "event": "",
      "filters": {
        "AND": null,
        "NOT": null,
        "OR": null,
        "all": null,
        "all_of": null,
        "any": null,
        "any_of": null,
        "none_of": null
      },
      "target": "self"
    },
    "on_admire_item_stop": {
      "event": "",
      "filters": {
        "AND": null,
        "NOT": null,
        "OR": null,
        "all": null,
        "all_of": null,
        "any": null,
        "any_of": null,
        "none_of": null
      },
      "target": "self"
    },
    "priority": 0,
    "control_flags": []
  }
}

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