minecraft:material_instances आपके लिए सेट कर देता है।Get GodCraftओवरव्यू
minecraft:material_instances एक ब्लॉक कंपोनेंट है: यह कस्टम ब्लॉक के components ऑब्जेक्ट में जाता है। ब्लॉक के मॉडल के faces को textures और render settings देता है। हर face के लिए "*" इस्तेमाल करें, या अकेली साइड के लिए "up", "down" और "north" जैसे नाम।
फ़ील्ड
| फ़ील्ड | टाइप | डिफ़ॉल्ट | विवरण |
|---|---|---|---|
Material Instance | JSON 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": {}
}
}