未命名¶
文档版本:1.21.0.24
The block's translation around the center of the cube in degrees. The rotation order is [x, y, z]. Angles need to be in multiples of 90.
架构¶
minecraft:transformation:
{
array "translation" : opt
{
number "<any array element>" : opt
}
array "scale" : opt
{
number "<any array element>" : opt
}
array "scale_pivot" : opt
{
number "<any array element>" : opt
}
array "rotation" : opt
{
number "<any array element>" : opt
}
array "rotation_pivot" : opt
{
number "<any array element>" : opt
}
}
translation
:array- Amount the block should be translated along each axis. "Translation" is specified as [x, y, z] using floating point values.
translation
<any array element>
:number
scale
:array- Amount the block should be scaled along each axis. "Scale" is specified as [x, y, z] using floating point values.
scale
<any array element>
:number
scale_pivot
:array- Offset to the pivot point around which to apply the scale. "scale_pivot" is specified as [x, y, z] using floating point values.
scale_pivot
<any array element>
:number
rotation
:array- Amount in degrees the block should be rotated on each axis. "rotation" is specified as [x, y, z] using floating point values and must be axis aligned, otherwise the value will be rounded to the nearest axis-aligned value.
rotation
<any array element>
:number
rotation_pivot
:array- Offset to the pivot point around which to apply the rotation. "rotation_pivot" is specified as [x, y, z] using floating point values.
rotation_pivot
<any array element>
:number