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

minecraft:behavior.inspect_bookshelf

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

ओवरव्यू

minecraft:behavior.inspect_bookshelf एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। AI goal जिससे मॉब bookshelves के पास जाकर उन्हें देखता है, जैसे librarian villagers।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
search_rangeinteger0मॉब अगल-बगल कितने ब्लॉक तक bookshelves ढूंढता है।
search_heightinteger1मॉब ऊपर-नीचे कितने ब्लॉक तक bookshelves ढूंढता है।
goal_radiusnumber0.5पहुंचा माने जाने के लिए मॉब को कितना पास आना होगा।
search_countinteger10हर tick कितने रैंडम ब्लॉक्स जांचे जाते हैं। 0 पर रेंज का हर ब्लॉक जांचा जाता है।रेंज: 0 से …
speed_multipliernumber1bookshelf की ओर चलते समय 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.inspect_bookshelf": {
    "search_range": 0,
    "search_height": 1,
    "goal_radius": 0.5,
    "search_count": 10,
    "speed_multiplier": 1,
    "priority": 0,
    "control_flags": []
  }
}

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