模式[編輯]
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
}
]
}
}