跳到主要内容

🧩 组合

概述

将多个子模型叠加在同一个空间中渲染。从后向前依次渲染 —— 靠前的条目出现在上层。

items:
demo:gem:
material: diamond
model:
type: minecraft:composite
models:
- type: minecraft:model
path: minecraft:item/custom/gem_glow # 上层
- type: minecraft:model
path: minecraft:item/custom/gem_base # 底层

字段

字段类型必需默认值说明
typestringminecraft:composite
modelslist从后向前依次渲染的物品模型映射
transformationobject物品模型变换,在子节点的变换之上进行(26.1+)