mat_create_generic
Create any material by its class name with validation. For obscure materials lacking dedicated tools; discover class names via get_class_properties.
Instructions
用任意材质类名创建材质(用 mcpEnsureClass 校验类存在)。适合创建没有专用工具的冷门材质;类名可通过 get_class_properties 探索。 [English] Create a material from any class name (validated with mcpEnsureClass). Use it for obscure materials that lack a dedicated tool; discover class names via get_class_properties.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 材质名称。 | Material name. | |
| objects | No | 创建后赋给这些对象;省略则不赋值。 | Assign to these objects after creation; omit to skip. | |
| className | Yes | 材质类名,例如 Shellac、DoubleSided、Top_Bottom。 | Material class name, e.g. Shellac, DoubleSided, Top_Bottom. |