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

minecraft:material_instances

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

ओवरव्यू

minecraft:material_instances एक ब्लॉक कंपोनेंट है: यह कस्टम ब्लॉक के components ऑब्जेक्ट में जाता है। ब्लॉक के मॉडल के faces को textures और render settings देता है। हर face के लिए "*" इस्तेमाल करें, या अकेली साइड के लिए "up", "down" और "north" जैसे नाम।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
Material InstanceJSON Objectकोई नहींface या material का नाम, उसके texture, render method (जैसे "opaque" या "alpha_test") और shading विकल्पों के साथ। "*" उन सभी faces को कवर करता है जिनका नाम नहीं लिखा।

उदाहरण

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

BP/blocks/<name>.json
{
  "minecraft:material_instances": {
    "Material Instance": {}
  }
}

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

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