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

minecraft:environment_sensor

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

ओवरव्यू

minecraft:environment_sensor एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। एंटिटी के आसपास की शर्तें true होने पर events चलाता है, जैसे पानी में होना या दिन का समय। आसपास के माहौल के हिसाब से behaviors बदलने के लिए इस्तेमाल करें।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
triggersListकोई नहींजाँचने के लिए filter और event के जोड़ों की लिस्ट।

उदाहरण

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

BP/entities/<name>.json
{
  "minecraft:environment_sensor": {
    "triggers": {}
  }
}

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