模式[编辑]
npc:1.19.30:
object "npc_data": opt
{
object "portrait_offsets": opt
{
array "translate"[3]: opt
{
number "[0...2]"
}
array "scale"[3]: opt
{
float "[0...2]"
}
}
object "picker_offsets": opt
{
array "translate"[3]: opt
{
number "[0...2]"
}
array "scale"[3]: opt
{
float "[0...2]"
}
}
array "skin_list": opt
{
object "[0...*]"
{
number "varient"
}
}
}
结构[编辑]
[需要更多信息]
- minecraft:npc:根对象。
- npc_data:
- portrait_offsets:
- translate:
- scale:
- rotate:
- picker_offsets:
- translate:
- scale:
- rotate:
- skin_list:
- :
- variant:
- mark_variant:
- :
- portrait_offsets:
- npc_data:
示例[编辑]
"minecraft:npc": {
"npc_data": {
"portrait_offsets": {
"translate": [-7,50,0],
"scale": [1.75,1.75,1.75]
},
"picker_offsets": {
"translate": [0,20,0],
"scale": [1.7,1.7,1.7]
},
"skin_list": [
{
"variant": 0
}
]
}
}