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

minecraft:strength

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

ओवरव्यू

minecraft:strength एक एंटिटी कंपोनेंट है: यह कस्टम मॉब के components ऑब्जेक्ट में, या उसके किसी component group में जाता है। तय करता है कि एंटिटी कितनी ताकतवर है, जिससे तय होता है वह कितने आइटम ले जा सकती है, जैसे llama के chest का साइज़।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
maxInteger"5"इस एंटिटी की सबसे ज़्यादा संभव strength।
valueInteger"1"एंटिटी की शुरुआती strength।

उदाहरण

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

BP/entities/<name>.json
{
  "minecraft:strength": {
    "max": "5",
    "value": "1"
  }
}

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