1. विकी
  2. /ब्लॉक
  3. /minecraft:item_visual

minecraft:item_visual

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

ओवरव्यू

minecraft:item_visual एक ब्लॉक कंपोनेंट है: यह कस्टम ब्लॉक के components ऑब्जेक्ट में जाता है। ब्लॉक का आइटम हाथ और inventory में कैसा दिखे, यह उसे अपना मॉडल और textures देकर सेट करता है। तब इस्तेमाल करें जब आइटम रखे गए ब्लॉक से अलग दिखना चाहिए।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
geometryGeometryकोई नहींआइटम के लिए इस्तेमाल होने वाला मॉडल।
material_instancesMaterial Instances Componentकोई नहींआइटम के लिए इस्तेमाल होने वाले textures और materials।

उदाहरण

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

BP/blocks/<name>.json
{
  "minecraft:item_visual": {
    "geometry": {},
    "material_instances": {}
  }
}

ब्लॉक: बिहेवियर पैक

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